Server error 500 when adding new app/site
Heimdall running in Docker behind Nginx reverse proxy. Trying to add a new app (or rather url) suddenly results in server error 500. I found many topics on the web reagrding this, but no solution. Blocking cookies doesn't help and instead results in an server error 419.
I updated the image from 2.5.8 to 2.6.3 with the same result.
Laravel log shows local.ERROR: Undefined array key "extension" {"exception":"[object] (ErrorException(code: 0): Undefined array key \"extension\" at /app/www/app/Http/Controllers/ItemController.php:232)
which didn't help me much.
After some fiddling around I found out the following: Adding the site and selecting one of the icons it shows, results in the above mentioned error 500. Saving the image and manually uploading it works without a problem. So Heimdall has a problem saving the displayed icon although it is displayed correctly and can be saved by right clicking and choosing save as... For now I only faced this error on self hosted apps/sites, but not all of them, only some. This might be related to my reverse proxy or Docker, but I don't see why it should, as the icons are displayed correctly and can be saved like I said befor.
While a workaround is fine for now, it would be nice to fix this behaviour. Maybe someone can help with that.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
same happens when trying to edit old apps :-/
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
Same here get 500 internal server error if I try to add or edit app/site. Why got this stale all the time? Please fix it. I have this issue with Portainer. If I fill out API credentials 500 is gone.
Version: v2.6.3-ls309 Same problem .... the problem seems to appear when we load the website and add the icon.
I'm experiencing this as well, 500 error when trying to set the logo of an app or site via a fetched image. Manual upload of an icon works fine.
Do you have an example website?
The process involves filling in the URL and click on "GO" after that, when open the icon, I right-click and open it in a new tab, then click Save. I save it and upload it above. But I already did this process automatically in previous versions
For example, with Opnsense. error is "Icon must be an image." I didn't get a 500 error.
I just tried opnsense, selected the first image and it worked fine (image was a .ico) and I also tried a .png and that also worked? Though this is with the current dev version, I'm not sure if that makes any difference.
I don't get a 500 error now, but when, for example, Omada uses .ico, it says it has to be an image. "The file field must be an image." or "Icon must be an image."
I tried https://www.omadanetworks.com/ and it brought in a .ico, it didn't show it (probably has hotlinking disabled) but selecting it and saving worked (because it downloads the ico and serves it locally) I didn't get any issues with it complaining it's not an image. Again though, I'm using the development version, it might be worth trying the :development tag and see if that's any different.
edit I switched to a :latest tag, and got the same, so I guess this will be fixed in 2.7.0 as I don't get it on dev.
I usually use it in dockers and when I start the service it gets the .ico files from the web services
Encountered same issue today. Tried to edit Pi-hole entry only to get "server 500" error. Had to create a new entry and remove an old one. As for the rest - most entries are editable, while some are not with the same error.
This should be fixed now, let me know if anyone still has an issue
I'm getting the same error. Fresh install with the Docker-Compose file. As soon as I go to add an application it gives me a 500 internal server error.
Same here. As soon as I click an the application name from the dropdown there is an error in js:
and after that saving results in Error 500. If I do not choose the application type the app is saved without an error.
I seem to consisitanly have this issue when deploying from Portainer via a stack