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

Updater fails updating themeing #5879

Closed
sebastianheyn opened this issue Jul 26, 2017 · 2 comments
Closed

Updater fails updating themeing #5879

sebastianheyn opened this issue Jul 26, 2017 · 2 comments

Comments

@sebastianheyn
Copy link

Steps to reproduce

  1. update from 11.2 to 12 as suggested by the auto updater
  2. wait for update to finish
  3. updating apps

Expected behaviour

Tell us what should happen
should work

Actual behaviour

Tell us what happens instead

Doctrine\DBAL\Exception\SyntaxErrorException: An exception occurred while executing 'DELETE FROM oc_reader_bookmarks b WHERE b.file_id = ?' with params [93]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'b WHERE b.file_id = '93'' at line 1

Server configuration

Operating system: Gentoo Linux

Web server: Apache 2.4.25

Database: MariaDB 10.0.30

PHP version: PHP 7.0.15

Nextcloud version: (see Nextcloud admin page)
12.0

Updated from an older Nextcloud/ownCloud or fresh install:
11.2

Where did you install Nextcloud from:
updater in the admin area

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

sudo -u apache ./occ upgrade
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
Set log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updating ...
Doctrine\DBAL\Exception\SyntaxErrorException: An exception occurred while executing 'DELETE FROM oc_reader_bookmarks b WHERE b.file_id = ?' with params [93]:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'b WHERE b.file_id = '93'' at line 1
Update failed
Maintenance mode is kept active
Reset log level

@sebastianheyn
Copy link
Author

solution: sudo -u apache ./occ app:disable files_reader

@juliusknorr
Copy link
Member

This is no problem of the server component of Nextcloud, it is an issue of the files_reader app. Please open an issue in the app repo.

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

No branches or pull requests

2 participants