FS#74264 - [nextcloud] Missing icon files causes RuntimeException
Attached to Project:
Community Packages
Opened by Caleb Maclennan (alerque) - Tuesday, 29 March 2022, 13:17 GMT
Last edited by David Runge (dvzrv) - Saturday, 14 January 2023, 16:45 GMT
Opened by Caleb Maclennan (alerque) - Tuesday, 29 March 2022, 13:17 GMT
Last edited by David Runge (dvzrv) - Saturday, 14 January 2023, 16:45 GMT
|
Details
As of at least 23.0.3 (and possible one or two point
releases earlier) I am unable to access the `/settings/user`
rout on my instances. Most other server functions are fine
(Dasboard, Files, Sync, most apps, Admin settings, etc.) but
trying to open the user settings page throws a 500 error.
Looking at the server logs, every time I try to access that page I get an error like this: ``` Error index RuntimeException: image not found: image:app-dark.svg webroot: 2022-03-29T13:10:05+00:00 serverroot:/usr/share/webapps/nextcloud at lib/private/URLGenerator.php line 244 ``` |
This task depends upon
The file does indeed not exist for nextcloud 23.0.3:
```
pacman -Fl nextcloud |rg app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/accessibility/img/app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/files_external/img/app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/logreader/img/app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/nextcloud_announcements/img/app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/privacy/img/app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/serverinfo/img/app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/support/img/app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/survey_client/img/app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/theming/img/app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/user_ldap/img/app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/weather_status/img/app-dark.svg
nextcloud usr/share/webapps/nextcloud/apps/workflowengine/img/app-dark.svg
```
This doesn't change much with the upcoming 23.0.4:
```
lstar nextcloud-23.0.4-1-any.pkg.tar.zst |rg app-dark.svg
-rw-r--r-- root/root 4049 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/accessibility/img/app-dark.svg
-rw-r--r-- root/root 367 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/files_external/img/app-dark.svg
-rw-r--r-- root/root 513 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/logreader/img/app-dark.svg
-rw-r--r-- root/root 735 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/nextcloud_announcements/img/app-dark.svg
-rw-r--r-- root/root 322 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/privacy/img/app-dark.svg
-rw-r--r-- root/root 429 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/serverinfo/img/app-dark.svg
-rw-r--r-- root/root 2677 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/support/img/app-dark.svg
-rw-r--r-- root/root 1796 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/survey_client/img/app-dark.svg
-rw-r--r-- root/root 611 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/theming/img/app-dark.svg
-rw-r--r-- root/root 1466 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/user_ldap/img/app-dark.svg
-rw-r--r-- root/root 1334 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/weather_status/img/app-dark.svg
-rw-r--r-- root/root 796 2022-04-25 17:20 usr/share/webapps/nextcloud/apps/workflowengine/img/app-dark.svg
```
However, this looks more like an upstream bug, as we really just repackage upstream's tarballs.
I am not running into this issue, because dark reader turns the dark mode on for my instance. This really seems to be a bug in the dark mode of nextcloud.