-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Update from 14.0.1 to 14.0.3 fails #11827
Comments
GitMate.io thinks possibly related issues are #11784 (14.0.3), #3242 (Upgrade from 10.0.3 to 11.0.1 fails with database error), #11813 (Upgrading from 13.0.6.1 to 14.0.3 fails with |
I get a different behavior but with the same issue: the web updater did not work. The difference is that I get no error message. When I tried to update just after clicking the |
Those files should not be there. If the nextcloud.log get's regenerated then it seems that you have configured your data dir to be the same as your nextcloud root directory, which is not supported and not recommended as it could lead to data loss. As this seems to be a setup issue I would like to ask you to raise your question in the forums: https://help.nextcloud.com If you wish support with setup issues from Nextcloud GmbH we offer this as part of the Nextcloud subscription. Learn more about this at https://nextcloud.com/enterprise/ |
@MorrisJobke That's not true. My data directory is in |
I have seriously no idea how the cache folder and the logs should appear there if not via the nextcloud data directory and also have not seen it yet on any setup out there to happen.
Ah - this one. Please move this to a different location. I just noticed it right now. If you move it does it then not get recreated again? |
And there is the other misconfiguration. Change this to something more useful or remove the setting and then also the log file will be properly placed inside the data directory. Changing those two values should lead to the correct behavior and you should be able to upgrade properly. |
Thank you for the suggestions. Problem solved! |
Steps to reproduce
Expected behaviour
Update should succeed
Actual behaviour
Update fails
I deleted the log file but it gets regenerated automatically. And it is always empty. I also deleted the contents of the cache folder but I did not attempt to delete the cache folder itself.
Server configuration
Operating system: Ubuntu 18.02
Web server: Apache 2.4.29
Database: MySQL 5.7.23
PHP version: 7.2.10
Nextcloud version: (see Nextcloud admin page) 14.0.1
Updated from an older Nextcloud/ownCloud or fresh install: Fresh install
Where did you install Nextcloud from: Github clone
Signing status:
Signing status
List of activated apps:
App list
Calendar, Notes, Tasks, TalkNextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser: Firefox 62.0.3
Operating system: macOS Mojave
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: