Hello, in my logfiles I always see similar error messages and can not explain them to me.
NC: 15.0.5.3
PHP: 7.2.15
OS: Ubuntu 18.04 LTS
All updates installed.
[PHP] Error: unlink(/var/www/html/data/appdata_ocra3uc9qczf/css/core/8aae-8b7a-server.css.gzip): No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#227
GET /css/core/8aae-8b7a-ie.css?v=1d916a640b4e399006848111f9969bad-314b40b7-23
from 10.1.1.3 by xxx at 2019-03-14T10:18:09+01:00
[PHP] Error: unlink(/var/www/html/data/appdata_ocra3uc9qczf/css/icons/icons-vars.css): No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#227
GET /css/notifications/70e2-8b7a-styles.css?v=1d916a640b4e399006848111f9969bad-70e2b24f-23
from 10.1.1.3 by xxx at 2019-03-14T10:18:03+01:00
…
All messages always refer to CSS files.
Is this a server error?
What can I do?
Thank you.
unlink == delete
so do you have a file /var/www/html/data/appdata_ocra3uc9qczf/css/core/8aae-8b7a-server.css.gzip
or a file var/www/html/data/appdata_ocra3uc9qczf/css/icons/icons-vars.css ?
The error message always appears when I change something as admin in the menu “Theming”. A letter in the name of the cloud is enough.
The folder exists. The file is not.
unlink (/var/www/html/data/appdata_ocra3uc9qczf/css/updatenotification/35c3-8b7a-admin.css.gzip)
I think that the css.gzip is only generated at runtime and then deleted again.
But what can go wrong? Otherwise everything works.
Also the rights are correct: drwxr-xr-x www-data www-data
The file does exist in my setup. I don’t know it but I suppose that if you change ‘Theming’ the file is first deleted (because it is old now) and then created new with your changes. So if this file does not appear in your directory you can try to create it and see what happens. I suppose you have a file /var/www/html/data/appdata_ocra3uc9qczf/css/core/8aae-8b7a-server.css in your directory. Just gzip it …
When I use another brand new cloud, the same error appears in the logs. I also use a completely different server here.
unlink(/cloud/data/appdata_oc7onkhh3ebd/css/files_texteditor/b1d7-bf13-merged.css.gzip): No such file or directory at /cloud/lib/private/Files/Storage/Local.php#227
Greetings,
yes, I am also interested to know if any solution.
I am on NC 17.x.x. and have same set of errors.
Yes, I change my theming for personal image at login.
In administration overview I have a warning : This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them.
“* imagick*
When researching, it seems related to theming and not to worry about it.”
However, I dont know if the issue in this post and mine are all to be disregarded due to theming.
Any feedback would be welcome.
Kattivius
I just installed a Nextcloud 21.0.2 on ubuntu 20.04, Php7.4, Nginx. Get a similar error.
Error: unlink(/var/www/nextcloud/data/appdata_ocb5zao3mx36/css/activity/ce96-99fc-style.css.deps): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#285
This is how I solved the problem:
1- Please make sure that all necessary PHP modules are installed.
2- Install and Configuration Collabora Online (Config Revers Proxy in Apache or Nginx) Integrate Collabora Online with Nextcloud on Ubuntu without Docker (linuxbabe.com)
3- Run the Commands: #sudo -u www-data php -d memory_limit=512M occ app:install richdocumentscode #sudo -u www-data php -d memory_limit=512M occ app:update --all #sudo -u www-data php occ richdocuments:activate-config
4- Delete Local IP in “Config.php” → ‘trusted_domains’ => “That must be Just Domain Name”