Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrueNAS Scale Official Nextcloud App Cannot Download Files Larger Than 512MB on SMB External Storage #2183

Closed
sync-by-unito bot opened this issue Feb 16, 2024 · 4 comments

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Feb 16, 2024

App version: 28.0.1_1.6.55

With install smbclient checked, mounting an external SMB share using the external storage function, files larger than 512MB cannot be downloaded. This is because libsmbclient-dev is not installed. Running following command in the shell can solve this issue:

apt install smbclient libsmbclient-dev -y
pecl install smbclient
docker-php-ext-enable smbclient
apachectl graceful

There is no way to run the command automatically on starting the App, see discussion on TrueNAS forum and on GitHub for details.

Proposed solution:

Add a checkbox option for installing libsmbclinet-dev which adds the entry point suggested on the GitHub thread:

entrypoint: ["/bin/bash", "-c" , "apt update && apt install smbclient libsmbclient-dev -y && pecl install smbclient && docker-php-ext-enable smbclient && /entrypoint.sh apache2-foreground"]

Copy link
Author

sync-by-unito bot commented Feb 16, 2024

➤ Bug Clerk commented:

Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System > Advanced > Save Debug.

https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153

Copy link
Author

sync-by-unito bot commented Feb 16, 2024

➤ Anthony Rivera commented:

Timed out waiting for additional information from ticket reporter.

Copy link
Author

sync-by-unito bot commented Feb 16, 2024

➤ Bug Clerk commented:

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

@stavros-k
Copy link
Contributor

Hello, you can follow this issue for updates on this #2123

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant