-
-
Notifications
You must be signed in to change notification settings - Fork 663
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
vm/nextcloud_install_production.sh error #2488
Comments
/mnt/ncdata is configured, via, /etc/fstab, as a cifs mount to an smb share on the host. |
It's most probably a configuration issue. Use one disk setup during installation, then mount the SMB share with our SMB mounting script (found in menu.sh). |
@githubDiversity Did my comment solve your issue? |
My apologies. I had hoped being able to focus on nextcloud sooner. I'll revisit the issue in a week or 2 and make sure to keep you updated. |
I have gotten around to installing nextcloud using the script. I noticed that the SMB mount script is used to create an external data location. Is this still possible? I will investigate a bit later. Currently it seems that I can't log in with my ncadmin user or the user I created for the web interface. I am not sure where to look in the logs to determine what is going wrong. |
Ok it was a keyboard mapping issue unrelated to the script/VM that made me not being able to login. Now I have solved that. when I run menu.sh I no longer see the option to configure an SMB share. Should it still be there? |
It's in "Additional Apps". And yes, it's possible to use the SMB script to create an SMB share then change in config.php for Nextcloud. |
Thank you, All seems well. great script and VM!! |
Steps To Reproduce
Host:
pve-manager/7.4-3/9002ab8a (running kernel: 5.15.107-1-pve)
VM OS:
Ubuntu 22.04.2 LTS
When running
https://github.com/nextcloud/vm/nextcloud_install_production.sh
as user ncadmin using sudo bash nextcloud_install_production.sh
I get an error message
Expected Result
no error message
Actual Result
Installing Nextcloud...
Nextcloud was successfully installed
Nextcloud version:
Your data directory is readable by other users.
Please change the permissions to 0770 so that the directory cannot be listed by other users.
An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('...')
#2 {main}Sorry but something went wrong. Please report this issue to https://github.com/nextcloud/vm/issues and include the output of the error message. Thank you!
sudo -u www-data php /var/www/nextcloud/occ status failed
Screenshots, Videos, or Pastebins
No response
Additional Context
No response
Build Version
not stated / not aware
Environment
By using the scripts
Environment Details
No response
The text was updated successfully, but these errors were encountered: