nextcloud / bookmarks

🔖 Bookmark app for Nextcloud
https://apps.nextcloud.com/apps/bookmarks
GNU Affero General Public License v3.0
1.01k stars 173 forks source link

Installation failed due SQL error #1671

Closed jfoucry closed 2 years ago

jfoucry commented 3 years ago

Describe the bug Try to install the plugin on my self hosted 21.0.2 nextcloud instance

To Reproduce Steps to reproduce the behavior:

  1. Select Bookmark in application list
  2. click Download and install
  3. error: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_bookmarks' doesn't exist

Expected behavior Installation without error

Desktop (please complete the following information):

Server (please complete the following information):

marcelklehr commented 3 years ago

Have had the app installed once before? You may need to check your oc_migrations table for remnant entries of the bookmarks app and delete those.

jfoucry commented 3 years ago

Le dimanche 10 oct. 2021 à 11:29:44 (-0700), Marcel Klehr à écrit:

Have had the app installed once before? You may need to check your oc_migrations table for remnant entries of the bookmarks app and delete those.

Yes, the bookmarks application use to work before, but I had to reinstall nextcloud. I did not reimport the database in the new installation.

SO it's like a new installation and I suppose that the application had to create its own table.

I must admit that I don't understand what you mean with "check oc_migrations table…". Could give me more details of the operation I need to do?

Thanks in advance,

-- Jacques Foucry

jfoucry commented 2 years ago

never mind

marcelklehr commented 2 years ago

I'm sorry, I forgot about this thread. Were you able to solve this?