Heimdall icon indicating copy to clipboard operation
Heimdall copied to clipboard

Background image cannot be changed

Open johannes1984 opened this issue 2 years ago • 7 comments

Using version 2.4.11 I cannot change the background image. I open the dialogue to chose the new file, select a jpg and then hit the "Save" button. Then it brings me back to the settings overview, confirms "You have successfully edited this setting" but still states "- not set -". And the background remains the standard image.

johannes1984 avatar May 18 '22 18:05 johannes1984

Same.

mariusberget92 avatar May 19 '22 08:05 mariusberget92

I hvae had this issue for so long that I just upload it via FTP manually and rename it to the default image name, works for me, I don't change it often enough for that to be too cumbersome.

thedinz avatar May 20 '22 18:05 thedinz

Did you see the notes in the README at https://github.com/linuxserver/Heimdall#installing or https://github.com/linuxserver/Heimdall#new-background-image-not-being-set? For me bumping the max upload size fixed this.

What's unclear to me is why this isn't a default setting in the docker containers. I would have expected an 8 or 16MB limit would cover most images.

deviantintegral avatar May 21 '22 13:05 deviantintegral

What's unclear to me is why this isn't a default setting in the docker containers. I would have expected an 8 or 16MB limit would cover most images.

Because it's the php default, same as a bare metal install. And we make it user customizable in the container

aptalca avatar May 21 '22 14:05 aptalca

Thanks. I filed https://github.com/linuxserver/docker-heimdall/issues/100 because we don't know if the original reporter is using Docker or not.

deviantintegral avatar May 23 '22 20:05 deviantintegral

Thanks. I filed linuxserver/docker-heimdall#100 because we don't know if the original reporter is using Docker or not.

Just to confirm that I use the Docker version

johannes1984 avatar May 24 '22 18:05 johannes1984

@aptalca I just encountered that changing upload_max_filesize only is not working anymore. Now I also have to set post_max_size. Maybe you could change the docs according?

HannesJo0139 avatar May 27 '22 11:05 HannesJo0139

I am still having this issue, despite setting my upload_max_filesize and post_max_size to 30M.

9021007 avatar Oct 13 '22 05:10 9021007

I am still having this issue, despite setting my upload_max_filesize and post_max_size to 30M.

Depending on your connection speed, max_input_time and max_execution_time may also have to be raised.

HannesJo0139 avatar Oct 13 '22 10:10 HannesJo0139

I have tried setting upload_max_filesize post_max_size, max_input_time, and max_execution_time, and am unable to set a new background image

arjunsrinivasan1997 avatar Oct 28 '22 22:10 arjunsrinivasan1997

same on linuxserver/heimdall version 2.4.13, will try to rollback to a previous version just to check... anyone found a fix for that?

rubenixnagios avatar Nov 03 '22 08:11 rubenixnagios

I cannot reproduce. Are you using a proxy? It would need the same settings I think.

HannesJo0139 avatar Nov 03 '22 11:11 HannesJo0139

same on linuxserver/heimdall version 2.4.13, will try to rollback to a previous version just to check... anyone found a fix for that?

my bad sorry; just a permissions issue! background changed succesfully

rubenixnagios avatar Nov 03 '22 15:11 rubenixnagios

I cannot reproduce. Are you using a proxy? It would need the same settings I think.

Taking it off the proxy and tweaking upload_max_filesize and post_max_size fixed the issue for me.

arjunsrinivasan1997 avatar Nov 03 '22 16:11 arjunsrinivasan1997

Running - Docker > [lscr.io/linuxserver/heimdall:latest] Set the config file php-local.ini with upload_max_filesize = 30M > did not work since I got an error 401 searched more and found this setting post_max_size as indicated by other users, set that and working with no issues now

If you using the linuxserver git the file to modify will be in

volumes:
  - /path/to/appdata/config:/config
  
   containername/php/php-local.ini
   

#php-local.ini content ; Edit this file to override php.ini directives and restart the container

date.timezone = Africa/Johannesburg upload_max_filesize = 30M post_max_size = 30M

B1GWH1T3 avatar Nov 10 '22 09:11 B1GWH1T3