nextcloud / cookbook

🍲 A library for all your recipes
https://apps.nextcloud.com/apps/cookbook
GNU Affero General Public License v3.0
529 stars 89 forks source link

Install / activation impossible on NC21 #567

Closed florentin68 closed 3 years ago

florentin68 commented 3 years ago

Description Install / activation impossible on NC21.

Reproduction Steps to reproduce the behavior:

  1. Go to App store
  2. Click on Install or activate if already installed
  3. See error "There is no table with name 'nextcloud.oc_cookbook_recipes' in the schema."

Expected behavior Plugin should initialize and activate itself

Screenshots image

Browser Chrome Dev 90 on Ubuntu Linux 20.10

Versions Nextcloud server version : 21RC1 (idem on 21 beta 8) Cookbook version : 0.7.10

christianlupus commented 3 years ago

The app is currently not compatible with NC21.

Duplicate of #341 Duplicate of #551 Related with #504

Was the app automatically installed? Could it be installed without a warning? Could you please check your config.php to see if there is something mentioned in app_install_overwrite?

florentin68 commented 3 years ago

I tried to install it manually. I discovered this app when I already was running NC21. No warning during install.

There is a list of 34 apps I've installed in the attribute you mention in my config.php:

  'app_install_overwrite' =>
  array (
    0 => 'files_downloadactivity',
    1 => 'apporder',
    2 => 'calendar',
    3 => 'deck',
    4 => 'keeweb',
    5 => 'files_markdown',
    6 => 'qownnotesapi',
    7 => 'ransomware_protection',
    8 => 'tasks',
...
    33 => 'cookbook',
    34 => 'bookmarks'
),
christianlupus commented 3 years ago

Could you test the following:

  1. Uninstall the app once more.
  2. Remove the cookbook from app_install_overwrite (you might need to decrement all subsequent entries' ids like bookmarks above)
  3. Check if you can still install the cookbook app.

The app is definitively not (yet) supported under NC 21 and will not work (as you have found out). NC 21 is not yet released so I suspect they disabled the app installation prevention (see app_install_overwrite) for the beta testers.

languitar commented 3 years ago

Now that NC 21 is released (at least on dockerhub): is there any plan when support will be available?

christianlupus commented 3 years ago

Yes, of course, there is work done to make the app compatible with NC 21. Currently, there are multiple things at hand and we are all volunteers. So, please be so kind and give us the time to get things straight.

For your reassurance: #605 is the first step in this direction. Let's see how far we can get in this PR. As soon as it is installable we might release a new version of the app.

christianlupus commented 3 years ago

The new version 0.8.3 was just pushed out with support for NC 21.