-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Integrity Error when upgrading to 13.0.beta4 #7723
Comments
Weird - this looks like #7644 but it is definitely included in the beta 4 and should also be properly signed. @rullzer @nickvergessen Do you have an idea how the signature could be messed up like this.
That sounds like some caching issue in the PHP opcache, that is setup for too long. |
@MorrisJobke I'm very confused here. Because https://github.com/nextcloud/server/tree/v13.0.0beta4/apps/dav/lib/CardDAV doesn't show the SyncJob.php Also my private instance doesn't have the extra file (while it downloads the same tarball I assume). |
Aaaah no my bad... I should look into the right folder.... @leolivier did you follow the steps in https://docs.nextcloud.com/server/12/admin_manual/maintenance/manual_upgrade.html ? Or did you unpack your new installation in place. Because unpacking in place would cause the files to still be there... |
Hi @rullzer |
Now it makes sense: It looks like the old code was not deleted but the new code was copied over. @leolivier Did you delete all the files before extracting the new code? |
Why did it failed? (see the updater.log in your data dir) |
@MorrisJobke, I don't understand what you mean. When I used the web upgrade, I don't know what the upgrader does, this is entirely managed by nc. For the manual part, I renamed the dir before unpacking so I didn't write the new code above the old one... |
Ah - it was hidden behind a folded entry, because of a syntax issue. |
It seems that my first post has a formatting issue, I can't see the updater.log file but I'm not able to link it now... |
https://github.com/nextcloud/server/tree/v13.0.0beta4/apps/dav/appinfo Dav also has no database.xml anymore, so signing is all good, and there seems to just be an additional file on disk. |
As we cannot reproduce this, there seems to be a different way how those files came there. They are neither in the zip nor in the tar ball. Just remove them and run the integrity check again. This should fix the issue for you. I will close this here. Maybe somebody else runs into the same issues and then we can look if we could nail down the reason for this. Thanks |
Ok for closing but I insist that this was totally managed by the web automatic upgrader at the beginning and thus if the files are here, they've been put there by itself... |
Sadly I'm out of ideas how this could happen. The updater in it's fundamentals of copying files wasn't touched since quite some time and many many updates have been made with it, without showing this behaviour. Sorry :/ |
FYI, I just upgraded from beta4 to RC1 with the auto updater without any problem. |
Then lets just hope it was a one time error :) |
Hi |
The web auto update says:
Content of updater.log shoes nothing except it ends after downloading:
|
Looks weird - the response is a 500 error. Could you also check the webserver logs (especially the error log) and if available the PHP log (only in a php-fpm env available)? |
As last time, I finally upgraded manually following closely the described procedure. It worked but when I go to the application, I get a warning message about integrity and the errors are on audioplayer:
|
Hello |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Steps to reproduce
Expected behaviour
All steps are going to their end
Actual behaviour
Everything goes fine until downloading
Then the integrity checks fails (with an http 503 error saying that the server is not available). I tried it 5 times (retry update) and 5 times the same error.
I ran the upgrade manually (following https://docs.nextcloud.com/server/12/admin_manual/maintenance/manual_upgrade.html) with no problem at all. You can see the trace here: trace.txt
After restarting the server, I still have an integrity warning in the security and configuration warnings
Server configuration
Operating system: Raspbian stretch
Web server: apache2.4.25
Database: mariadb 15.1
PHP version: 7.0.19
Nextcloud version: 13.0.beta4
Updated from an older Nextcloud/ownCloud or fresh install: from 12.0.4
Where did you install Nextcloud from: I used the zip downloaded by the web updater (the one on which the integrity checks failed)
Signing status:
Signing status
List of activated apps:
App list
``` Enabled: - activity: 2.6.1 - admin_notifications: 1.0.1 - audioplayer: 2.2.2 - bruteforcesettings: 1.0.3 - calendar: 1.5.7 - circles: 0.13.6 - comments: 1.3.0 - contacts: 2.0.1 - dav: 1.4.6 - federatedfilesharing: 1.3.1 - federation: 1.3.0 - files: 1.8.0 - files_external: 1.4.1 - files_markdown: 2.0.1 - files_pdfviewer: 1.2.0 - files_sharing: 1.5.0 - files_texteditor: 2.5.1 - files_trashbin: 1.3.0 - files_versions: 1.6.0 - files_videoplayer: 1.2.0 - firstrunwizard: 2.2.1 - gallery: 18.0.0 - groupfolders: 1.1.0 - logreader: 2.0.0 - lookup_server_connector: 1.1.0 - mail: 0.7.6 - nextcloud_announcements: 1.2.0 - notes: 2.3.2 - notifications: 2.1.2 - oauth2: 1.1.0 - password_policy: 1.3.0 - provisioning_api: 1.3.0 - serverinfo: 1.3.0 - sharebymail: 1.3.0 - socialsharing_email: 1.0.3 - survey_client: 1.1.0 - systemtags: 1.3.0 - theming: 1.4.1 - twofactor_backupcodes: 1.2.3 - updatenotification: 1.3.0 - workflowengine: 1.3.0 Disabled (mostly due to v13): - admin_audit - deck - drawio - encryption - files_accesscontrol - files_opds - keeweb - spreed - tasks - user_external - user_ldap ```Nextcloud configuration:
Config report
``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "nextcloud.levillain.fr.nf" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "https:\/\/nextcloud.levillain.fr.nf", "dbtype": "mysql", "version": "13.0.0.9", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "maintenance": false, "memcache.local": "\\OC\\Memcache\\APCu", "htaccess.RewriteBase": "\/", "loglevel": 2, "updater.release.channel": "beta", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "php", "mail_smtpauthtype": "LOGIN", "mail_domain": "***REMOVED SENSITIVE VALUE***", "enabledPreviewProviders": [ "OC\\Preview\\Image", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown", "OC\\Preview\\Epub", "OC\\Preview\\PDF" ], "updater.secret": "***REMOVED SENSITIVE VALUE***" } } ```Are you using external storage, if yes which one: yes sftp
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox 57
Operating system: Linux Mint 18.3 (sylvia)
Logs
Web server error log
Web server error log
Nothing at that moment in the error log
In the access log:
Nextcloud log (data/nextcloud.log)
updater.log
nextcloud.log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: