NextCloud 14 Errors

I’ve just finished installing NextCloud in a jail on my FreeNAS and I’m seeing the following in my logs.
I did check the first line to see if Node.php is there and it is. I then opened the file to see if OC\Files\Node\Node and did find it…

   * @param string $targetPath
     * @throws \OCP\Files\NotPermittedException if copy not allowed or failed
     * @return \OC\Files\Node\Node
     */

Permissions of the Node.php file are -rw-r–r--

OCP\Files\NotFoundException:
/usr/local/www/apache24/data/nextcloud/lib/private/Files/Node/Node.php - line 216:
OC\Files\Node\Node->getFileInfo()
/usr/local/www/apache24/data/nextcloud/lib/private/Files/Node/Node.php - line 117:
OC\Files\Node\Node->getPermissions()
/usr/local/www/apache24/data/nextcloud/lib/private/Files/Node/File.php - line 64:
OC\Files\Node\Node->checkPermissions(2)
/usr/local/www/apache24/data/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php - line 104:
OC\Files\Node\File->putContent(".nc-theming … }")
/usr/local/www/apache24/data/nextcloud/lib/private/Template/SCSSCacher.php - line 309:
OC\Files\SimpleFS\SimpleFile->putContent(".nc-theming … }")
/usr/local/www/apache24/data/nextcloud/lib/private/Template/SCSSCacher.php - line 153:
OC\Template\SCSSCacher->cache("/usr/local/ … s", “35c3-4459-theming.css”, “theming.scss”, OC\Files\Sim … {}, “/apps/theming/css”)
/usr/local/www/apache24/data/nextcloud/apps/theming/lib/Controller/ThemingController.php - line 395:
OC\Template\SCSSCacher->process("/usr/local/ … g", “css/theming.scss”, “theming”)
/usr/local/www/apache24/data/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 166:
OCA\Theming\Controller\ThemingController->getStylesheet()
/usr/local/www/apache24/data/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:
OC\AppFramework\Http\Dispatcher->executeController(OCA\Theming\ … {}, “getStylesheet”)
/usr/local/www/apache24/data/nextcloud/lib/private/AppFramework/App.php - line 118:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Theming\ … {}, “getStylesheet”)
/usr/local/www/apache24/data/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main(“OCA\Themin … r”, “getStylesheet”, OC\AppFramew … {}, { _route: "t … "})
OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "t … "})
/usr/local/www/apache24/data/nextcloud/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew … {}, { _route: “t … “})
/usr/local/www/apache24/data/nextcloud/lib/base.php - line 987:
OC\Route\Router->match(”/apps/theming/styles”)
/usr/local/www/apache24/data/nextcloud/index.php - line 42:
OC::handleRequest()

[/details]
Nextcloud version: 14.0.6.0
Operating system and version: FreeBSD/FreeNAS 11.2
Apache or nginx version : Apache24
PHP version: 7.2.6

Do you have a “/apps/theming/styles” ?

Yes, everything is default but it shows Theming 1.5.0 installed.
I assume you’re telling me that this is likely the problem?

I have noticed under Settings -> Accessibility if I try to select anything it doesn’t activate.

The

was triggered by
OC\Route\Router->match(”/apps/theming/styles”)
/usr/local/www/apache24/data/nextcloud/index.php - line 42:
OC::handleRequest()

So, if the directory exists maybe something is wrong with the file permissions.

Question is what should the permissions be set to. Currently index.php is -rw-r–r--

Sorry, I meant file permissions for “/apps/theming/styles”.
Maybe the problem is that your apache web server has no write permission to /apps/theming/styles. I dont know BSD, in debian is Apache running under www-data user. So you have to change owner of/apps/theming/styles to apache user.
After that try sudo chmod u+rw /apps/theming/styles

Seems I don’t have styles

My user is www and theming seems to be set correctly…

drwxr-xr-x 2 www www 6 Jan 11 07:22 appinfo
drwxr-xr-x 2 www www 4 Jan 11 07:17 css
drwxr-xr-x 2 www www 4 Jan 11 07:17 img
drwxr-xr-x 3 www www 4 Jan 11 07:17 js
drwxr-xr-x 2 www www 123 Jan 11 07:17 l10n
drwxr-xr-x 4 www www 9 Jan 11 07:17 lib
drwxr-xr-x 2 www www 3 Jan 11 07:17 templates

Do you have a css/theming.scss ?

yes, did a search, found it…
/usr/local/www/apache24/data/nextcloud/apps/theming/css/theming.scss

And the file permissions?

Seems to look good…

-rw-r–r-- 1 www www 2919 Jan 11 07:17 settings-admin.scss
-rw-r–r-- 1 www www 5176 Jan 11 07:17 theming.scss

I have noticed since I’ve disabled theming the error hasn’t come back up since it last posted a few hours ago.

So maybe you should open a ticket https://github.com/nextcloud/server/issues

OK, will do if no one else has any ideas.
Strange thing is I installed the Random Theming and it’s working just fine.