File errors in log (probably theming related)

I am using ncp on a rpi2 and am on nextcloud 14.0.4, when checkig my logs i see these errors:

index
2018-12-04T23:34:57+0100
OCP\Files\NotFoundException:
Warning
music
2018-12-04T23:34:57+0100
FileHooks::updated triggered for a non-existing file
Error
PHP
2018-12-04T23:34:57+0100
touch(): Unable to create file /media/USBdrive/ncdata/appdata_oc1lgek82p77/theming/13/favIcon-radio because No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#206
Error
index
2018-12-04T23:34:55+0100
OCP\Files\NotFoundException:
Warning
music
2018-12-04T23:34:55+0100
FileHooks::updated triggered for a non-existing file
Error
PHP
2018-12-04T23:34:55+0100
touch(): Unable to create file /media/USBdrive/ncdata/appdata_oc1lgek82p77/theming/13/touchIcon-radio because No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#206

With extended error:

OCP\Files\NotFoundException:

/var/www/nextcloud/lib/private/Files/Node/Node.php - line 216:

OC\Files\Node\Node->getFileInfo()

/var/www/nextcloud/lib/private/Files/Node/Node.php - line 117:

OC\Files\Node\Node->getPermissions()

/var/www/nextcloud/lib/private/Files/Node/File.php - line 64:

OC\Files\Node\Node->checkPermissions(2)

/var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php - line 104:

OC\Files\Node\File->putContent(null)

/var/www/nextcloud/apps/theming/lib/ImageManager.php - line 190:

OC\Files\SimpleFS\SimpleFile->putContent(null)

/var/www/nextcloud/apps/theming/lib/Controller/IconController.php - line 127:

OCA\Theming\ImageManager->setCachedImage("favIcon-phonetrack", null)

/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 166:

OCA\Theming\Controller\IconController->getFavicon("phonetrack")

/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:

OC\AppFramework\Http\Dispatcher->executeController(OCA\Theming\ ... {}, "getFavicon")

/var/www/nextcloud/lib/private/AppFramework/App.php - line 118:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\Theming\ ... {}, "getFavicon")

/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

OC\AppFramework\App::main("OCA\\Themin ... r", "getFavicon", OC\AppFramew ... {}, { app: "phon ... "})

OC\AppFramework\Routing\RouteActionHandler->__invoke({ app: "phon ... "})

/var/www/nextcloud/lib/private/Route/Router.php - line 297:

call_user_func(OC\AppFramew ... {}, { app: "phon ... "})

/var/www/nextcloud/lib/base.php - line 987:

OC\Route\Router->match("/apps/themi ... k")

/var/www/nextcloud/index.php - line 42:

OC::handleRequest()

This looks like its theming related, i did try to look at the dark theme beta when i was on nc 14,0.1 iirc, which did not work out so good back then with icons, so i switched back to high contrast. However, since then i can not switch to dark theme anymore, it shows as enabled, but i dont see it.

Try to reload Apache/Nginx and look that your Nextcloud folder have the right owner.
On
Ubuntu/Debian = www-data:www-data
Arch = httpd:httpd

Once of that should be the owner of your whole Folder.

Tried this, but didnt help.

However, when i browse my ncdata folder for the file it searches (eg media/USBdrive/ncdata/appdata_oc1lgek82p77/theming/13/favIcon-settings), there is no folder 13 in theming, only a folder 15 which in turn doesnt contain a file favicon-settings but just some svg files. So my guess is that somehow during theme switching that folder got lost while replacing or whatever.

My Question is if it is possible to get that folder back from somewhere, because my backups are not reaching back far enough i think

Anyone an idea?

backup data and reinstall?

And if i want to avoid that? Any idea what app that is: appdata_oc1lgek82p77