You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade to 14.0.2 fails with error: UnexpectedValueException: The files of the app "lookup_server_connector" were not correctly replaced before running the update
#11801
Closed
cmonty14 opened this issue
Oct 12, 2018
· 3 comments
UnexpectedValueException: The files of the app "lookup_server_connector" were not correctly replaced before running the update
{"reqId":"KStkBdpPaapNIWk4XLHJ","level":3,"time":"2018-10-12T14:34:22+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::failure: UnexpectedValueException: The files of the app \"lookup_server_connector\" were not correctly replaced before running the update","userAgent":"--","version":"14.0.1.1"}
Update failed
Server configuration
Operating system:
Alpine Linux 3.8 Web server:
Nginx 1.14.0 Database:
MariaDB 10.3.9 PHP version:
7.2.11 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:
Alpine package manager
Nextcloud is in maintenance mode after failed upgrade.
ct114-devcloud:/usr/share/webapps/nextcloud# sudo -u nextcloud php occ app:list
The current PHP memory limit is below the recommended value of 512MB.
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Enabled:
- accessibility: 1.0.1
- cloud_federation_api: 0.0.1
- dav: 1.6.0
- federatedfilesharing: 1.4.0
- files: 1.9.0
- provisioning_api: 1.4.0
- support: 1.0.0
Disabled:
Nextcloud configuration:
ct114-devcloud:/usr/share/webapps/nextcloud# sudo -u nextcloud php occ config:list system
The current PHP memory limit is below the recommended value of 512MB.
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
{
"system": {
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"apps_paths": [
{
"path": "\/usr\/share\/webapps\/nextcloud\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/lib\/nextcloud\/apps",
"url": "\/apps-appstore",
"writable": true
}
],
"updatechecker": false,
"check_for_working_htaccess": false,
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"devcloud.whl.biszumbitterenen.lan"
],
"dbtype": "mysql",
"version": "14.0.1.1",
"overwrite.cli.url": "https:\/\/devcloud.whl.biszumbitterenen.lan",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "tls",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"loglevel": 2,
"maintenance": true
}
}
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
Nextcloud log (data/nextcloud.log)
Nextcloud log
no relevant entries for the point in time
The text was updated successfully, but these errors were encountered:
GitMate.io thinks possibly related issues are #8240 (Update to Nextcloud 13.0.0 Fails: UnexpectedValueException: The files of the app "files" were not correctly replaced before running the update), #11751 (14.0.2), #3045 (Update to 10.0.2 fails [Check for expected files]), #6219 (Circle-app has an error when upgrading to 12.0.2), and #11797 (Upgrade from 13.0.7 to 14.0.2 failed).
i hit the same problem. as part of the investigation i discovered that apk info -L nextcloud-lookup_server_connector is giving me empty output. so i ran apk add nextcloud-lookup_server_connector. this got me a little further (nextcloud-twofactor_backupcodes and nextcloud-workflowengine had to be reinstalled as well) and in the end i got occ upgrade to finish w/o an error
Steps to reproduce
Expected behaviour
No errors after upgrade
Actual behaviour
Server configuration
Operating system:
Alpine Linux 3.8
Web server:
Nginx 1.14.0
Database:
MariaDB 10.3.9
PHP version:
7.2.11
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:
Alpine package manager
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
Nextcloud is in maintenance mode after failed upgrade.
Nextcloud configuration:
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
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: