[Koha-bugs] [Bug 19898] Koha 17.11 - Upload Local Cover Image Failed - "Cannot process file as an image"
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 28 00:45:08 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19898
--- Comment #12 from Craig <cbutosi at gmail.com> ---
(In reply to Craig from comment #11)
> (In reply to Jef Bucas from comment #10)
> > I got this problem on Debian Stretch with version 17.11.03-1.
> >
> > Solution was to disable Systemd's Apache2's PrivateTmp flag.
> >
> > /lib/systemd/system/apache2.service
> > --------------
> > [Unit]
> > Description=The Apache HTTP Server
> > After=network.target remote-fs.target nss-lookup.target
> >
> > [Service]
> > Type=forking
> > Environment=APACHE_STARTED_BY_SYSTEMD=true
> > ExecStart=/usr/sbin/apachectl start
> > ExecStop=/usr/sbin/apachectl stop
> > ExecReload=/usr/sbin/apachectl graceful
> > PrivateTmp=false
> > Restart=on-abort
> >
> > [Install]
> > WantedBy=multi-user.target
> > -----------
> >
> > systemctl daemon-reload
> > systemctl restart apache2
>
> Hi Jef,
>
> Thanks for this. I will try and disable later tonight and report back. To
> the community, just out of curiosity, would this problem in any way be
> related to setting a template cache directory, as specified here:
> https://wiki.koha-community.org/wiki/Performance?
>
> Many thanks!
Hi everyone,
Can confirm Jef's fix above. I am now able to successfully upload a local cover
image. Jef, thanks again!
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list