-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error on Nextcloud 21 & PHP 8 #838
Comments
Thanks for the report. That kind of looks like some installation/update problem. Nextcloud can't find the Music app file If you navigate to You might be able to solve the situation by manually removing the whole folder |
Thanks for the pointer. Was using the music.zip release instead of music_1.0.3_nc-signed.tar.gz. Everything fine now! |
Hmm, that still doesn't make sense. Using music.zip should still work as well as the NC signed package, the only difference should be the signature file which can be used by Nextcloud to verify that all the files are unaltered after the release. But if you would install the "Source code (zip)", then that would explain it. Because that package doesn't include the generated distribution files, including the image files. Anyway, glad it works now! |
I was wrong. The error is still there, just done a fresh install. The svg file exists but cant be found by nextcloud.
Could it be the |
The root should be a folder called |
Ok, now i get it. I use some deployment magic at Portknox (https://portknox.net) and the empty folders get ignored. I added them and everything works now. Thanks for the help! Should we add some |
Yes, this might make sense. And actually, it has popped my mind before. So yes, let's do this for the next release. |
The source foldres `css`, `img`, and `js` don't include any files in the delivery package but it is still vital to have them around under the `music` folder. Not having `css` and `js` folders may totally break the Music app (depending on the cloud version used) and not having the `img` folder may break the whole cloud installation. It has been proved that at least some external deployment scripts may ignore totally empty directories, and hence, cause critical issues. refs #838
The .keep files are now included in those three folders in the brand new Music v1.1.0. |
After activating this app my Nextcloud died with "Internal Server Error".
Nextcloud 21.0.0
PHP 8.0.3
New installation, no upgrade.
After disabling the app with occ, Nextcloud works again.
Here is the log:
{"reqId":"xuKdDQUli22TR8BF2qw6","level":3,"time":"2021-03-12T15:04:21+00:00","remoteAddr":"2003:e5:5f22:5600:6a87:a2b9:f34c:cfee","user": "rainer","app":"core","method":"GET","url":"/apps/files/","message":"{\"Exception\":\"RuntimeException\",\"Message\":\"image not found: image:../dist/img/ba6753921817d8ebc105f01e1dc06872.sv g webroot: serverroot:/var/www/virtual/rainer.domain/htdocs\",\"Code\":0,\"Trace\":[{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/private/legacy/template/functions.php\" ,\"line\":238,\"function\":\"imagePath\",\"class\":\"OC\\\\URLGenerator\",\"type\":\"->\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/public/Template.php\",\"line\":49,\"fu nction\":\"image_path\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/apps2/music/lib/Utility/HtmlUtil.php\",\"line\":43,\"function\":\"image_path\",\"class\":\"OCP\\\\Template\" ,\"type\":\"::\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/apps2/music/appinfo/app.php\",\"line\":33,\"function\":\"getSvgPath\",\"class\":\"OCA\\\\Music\\\\Utility\\\\HtmlUt il\",\"type\":\"::\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/private/NavigationManager.php\",\"line\":110,\"function\":\"OCA\\\\Music\\\\App\\\\{closure}\",\"class\":\" OC_App\",\"type\":\"::\",\"args\":[\"*** sensitive parameters replaced ***\"]},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/apps/theming/lib/ThemingDefaults.php\",\"line\":184,\" function\":\"getAll\",\"class\":\"OC\\\\NavigationManager\",\"type\":\"->\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/private/legacy/OC_Defaults.php\",\"line\":263,\"func tion\":\"getShortFooter\",\"class\":\"OCA\\\\Theming\\\\ThemingDefaults\",\"type\":\"->\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/public/Defaults.php\",\"line\":169,\"f unction\":\"getLongFooter\",\"class\":\"OC_Defaults\",\"type\":\"->\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/core/templates/layout.guest.php\",\"line\":55,\"function\":\"g etLongFooter\",\"class\":\"OCP\\\\Defaults\",\"type\":\"->\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/private/Template/Base.php\",\"line\":178,\"args\":[\"/var/www/virtu al/rainer.domain.de/htdocs/core/templates/layout.guest.php\"],\"function\":\"include\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/private/Template/Base.php\",\"line\":1 50,\"function\":\"load\",\"class\":\"OC\\\\Template\\\\Base\",\"type\":\"->\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/private/legacy/OC_Template.php\",\"line\":180,\"fu nction\":\"fetchPage\",\"class\":\"OC\\\\Template\\\\Base\",\"type\":\"->\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/private/legacy/OC_Template.php\",\"line\":211,\"func tion\":\"fetchPage\",\"class\":\"OC_Template\",\"type\":\"->\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/private/Template/Base.php\",\"line\":132,\"function\":\"fetchPage \",\"class\":\"OC_Template\",\"type\":\"->\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/private/legacy/OC_Template.php\",\"line\":332,\"function\":\"printPage\",\"class\": \"OC\\\\Template\\\\Base\",\"type\":\"->\"},{\"file\":\"/var/www/virtual/rainer.domain.de/htdocs/index.php\",\"line\":63,\"function\":\"printExceptionErrorPage\",\"class\":\"OC_Template\ ",\"type\":\"::\"}],\"File\":\"/var/www/virtual/rainer.domain.de/htdocs/lib/private/URLGenerator.php\",\"Line\":236,\"CustomMessage\":\"--\"}","userAgent":"Mozilla/5.0 (X11; Linux x86_64 ; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.0.18"}
Thanks for this great app i am happy to help testing.
The text was updated successfully, but these errors were encountered: