I had a great instance of nextcloud running like a charm until I deleted it by accident. Well, a build script deleted the nc-files, which needed a config-parameter I forgot.
So I reuploaded everything and reinstalled nc with the newest upate (11.0.1), which was already in use before. Thatās why I thought the database should be fine after all. And yes everything is working again except of the app store. It is just showing the āActivatedā and āDeactivatedā categories.
I tried to find solutions here, but nothing worked for me. For example this:
Hmm, the issue in your first link should be fixed, It just occurred due to some problems short time after the first nc 11 beta upgrade.
Be sure that all app store related settings inside your config.php are removed, so standard settings are used. But as you already used nc 11 that should not be the problem.
Please provide all nextcloud, webserver and browser log you can find, related to the failure.
I found this line conspicuous:
fopen(/var/www/virtual/ user /html/cloudData/appdata_oc8i5nd6yyyh/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/baasto/html/nextcloud/lib/private/Files/Storage/Local.php#216
When I checked the file(Local.php), it did exist. Might it be a rights-problem?
I canāt upload a log file here, because Iām a new userā¦ Donāt know when this might changeā¦ or what other way do you suggest?
missing file is actually /var/www/virtual/ user /html/cloudData/appdata_oc8i5nd6yyyh/appstore/apps.json which looks like the local cache. So probably somewhere in your database its stored that you already have a local copy which should last X hours while its gone. Investigate into that area
@BernhardPosselt: thanks I must have been blind yesterdayā¦ was way too lateā¦
I found the entry āapps.jsonā in the oc_filecache table and removed it as well as two other entries with the values āappstoreā and ācategoriesā in their path.
One more info for the app-devs of the app āVideo callsā (https://github.com/nextcloud/spreed), when I tried to reactivate it, an exception came up saying: that the tables (oc_spreedme_messages, oc_spreedme_rooms, oc_spreedme_room_participants) the app is using, already exists.
Well normally they shouldnāt already exist, but I think if they would check in this case if the table exists they can jump to the next config-step. Because if they donāt need to be rebuild, no valuable data in theses three tables is getting lost. I had nothing special in there, but might be different for bigger instancesā¦
Hi all, Iām having a similar issue so Iām not opening a new thread. Iāve tried removing from the database (postgres) from oc_filecache the apps.json, appstore and categories.json references but I still see this
{āreqIdā:āZED9A5MSJtZ3SBKNKHEjā,ālevelā:3,ātimeā:ā2017-09-21T23:31:49+00:00ā,āremoteAddrā:ā127.0.0.1ā,āuserā:āadminā,āappā:āPHPā,āmethodā:āGETā,āurlā:"/index.php/settings/apps/categories",āmessageā:āfile_get_contents(/opt/nextcloud/data/appdata_oce6snk0zpug/appstore/categories.json): failed to open stream: No such file or directory at /mnt/wdblue/www/sites/nextcloud/lib/private/Files/Storage/Local.php#209ā,āuserAgentā:āMozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0ā,āversionā:ā12.0.3.3ā}
{āreqIdā:ālJLxoR0zsrWNBkiq1NDtā,ālevelā:3,ātimeā:ā2017-09-21T23:31:49+00:00ā,āremoteAddrā:ā127.0.0.1ā,āuserā:āadminā,āappā:āPHPā,āmethodā:āGETā,āurlā:"/index.php/settings/apps/list?category=installed",āmessageā:āfile_get_contents(/opt/nextcloud/data/appdata_oce6snk0zpug/appstore/apps.json): failed to open stream: No such file or directory at /mnt/wdblue/www/sites/nextcloud/lib/private/Files/Storage/Local.php#209ā,āuserAgentā:āMozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0ā,āversionā:ā12.0.3.3ā}
Files are there and permissions are fine, Selinux is not enabled.