Your message dated Sun, 29 Jan 2023 13:37:07 +0000
with message-id <[email protected]>
and subject line Bug#1029921: fixed in shaarli 0.12.1+dfsg-8
has caused the Debian Bug report #1029921,
regarding shaarli: Unable to fetch thumbnails, mkdir(): Permission denied
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1029921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029921
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: shaarli
Version: 0.12.1+dfsg-7
Severity: normal
X-Debbugs-Cc: [email protected]

This issue was first opened at upstream issue tracker, but it only applies to 
the Debian package:

https://github.com/shaarli/Shaarli/issues/1911

It was also reported as an issue in FreedomBox:

https://salsa.debian.org/freedombox-team/freedombox/-/issues/2299

With debugging enabled, the error is shown in the Apache journal:

"GET /shaarli/admin/thumbnails HTTP/2.0" 200 2571 
"https://localhost:4430/shaarli/admin/configure";
[proxy_fcgi:error] [pid 17352:tid 17399] [client 10.0.2.2:38818] AH01071: Got 
error 'PHP message: ErrorException: mkdir(): Permission denied', referer 
https://localhost:4430/shaarli/admin/thumbnails

Shaarli uses php-arthurhoaro-web-thumbnailer, with the configuration in 
/usr/share/shaarli/inc/web-thumbnailer.json.
This has the cache path set to "cache/", so it is trying to create a folder 
"cache" in /usr/share/shaarli.

Here are some things I tried, in order to fix it:

# ln -s /var/cache/shaarli/cache/ /usr/share/shaarli/cache

Then in the journal I see:

"GET /shaarli/admin/thumbnails HTTP/2.0" 200 2571 
"https://localhost:4430/shaarli/admin/configure";
"PATCH /shaarli/admin/shaare/0/update-thumbnail HTTP/2.0" 200 1698 
"https://localhost:4430/shaarli/admin/thumbnails";
[core:alert] [pid 17352:tid 17399] [client 10.0.2.2:46634] 
/usr/share/shaarli/cache/thumb/.htaccess: Require not allowed here, referer 
https://localhost:4430/shaarli/admin/thumbnails
"GET 
/shaarli/cache/thumb/14dd5266c70789bdc806364df4586335/7fb845c39d194747d128e9e70664a2ca05d881ae125901.jpg
 HTTP/2.0" 500 743 "https://localhost:4430/shaarli/admin/thumbnails";

I tried deleting .htaccess, but it gets re-written each time.

What I can do instead, it remove all the contents of .htaccess, and then the 
thumbnails are working ok.
Next step: I will check if I can do this in the package build.

--- End Message ---
--- Begin Message ---
Source: shaarli
Source-Version: 0.12.1+dfsg-8
Done: James Valleroy <[email protected]>

We believe that the bug you reported is fixed in the latest version of
shaarli, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James Valleroy <[email protected]> (supplier of updated shaarli package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 29 Jan 2023 07:36:49 -0500
Source: shaarli
Architecture: source
Version: 0.12.1+dfsg-8
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <[email protected]>
Changed-By: James Valleroy <[email protected]>
Closes: 1029921
Changes:
 shaarli (0.12.1+dfsg-8) unstable; urgency=medium
 .
   * Allow AuthConfig in .htaccess
   * Create link for cache folder (Closes: #1029921)
Checksums-Sha1:
 5a7b91601ae9d6dc4fc49fb5436f9e3723bfc688 2578 shaarli_0.12.1+dfsg-8.dsc
 7364e04a9dfd3bd286f58a40b18fbea7e8d6f27b 25556 
shaarli_0.12.1+dfsg-8.debian.tar.xz
 d5010d950cac948e0c1d591772e473c0d37983e2 23144 
shaarli_0.12.1+dfsg-8_amd64.buildinfo
Checksums-Sha256:
 d8fb35ee16efe39a4e5645de8980546ecd2c6f02e6b390a2d34606b9ba8d102f 2578 
shaarli_0.12.1+dfsg-8.dsc
 3041b2c148592d17eb3f3137f3242cfa375d90ed07b67417f31095c2f14a4ae3 25556 
shaarli_0.12.1+dfsg-8.debian.tar.xz
 06226bd37118f6e69dd20a37aa9cb6724af0df247be22ece1deace608636c27f 23144 
shaarli_0.12.1+dfsg-8_amd64.buildinfo
Files:
 8c1fe2737ea90373551870f9494ed76a 2578 web optional shaarli_0.12.1+dfsg-8.dsc
 36c61b0ef8536b01a14da492551b158c 25556 web optional 
shaarli_0.12.1+dfsg-8.debian.tar.xz
 00df40740daa78edbfe97f6fb6ed13d1 23144 web optional 
shaarli_0.12.1+dfsg-8_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJKBAEBCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmPWcSwWHGp2YWxsZXJv
eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICCVrEADPskXq87LxZHjkyxHhg7eFPGdr
u4r/7kz5AN1w5dwPWivoxzNjmaJq6Yp0bsXt/Rb8/enb5h30NM/0hTqSU8iIijhc
v06Djfe/HjXaCAQqy/ANp7pYA7f2mWUib8/pRuNGpf4xJaGiZAAMkTnYGVRkvoWU
hSgETcEo0dHMDdSmrI9Y2GCXzFBxwqp4GGPXYS/orWUo0+8fhOOQX9YUAjkujJ7H
ovc1OGPbFnioviVFQPS7XIUAft/9xxPYQdsjpBxP4P1Y4/6uaXgIDWN7rXFMRTBP
W9Qs/AlK2XE4d7nAput/sJWJOcGt1jK2DBc0iOQlVIBgZRAx4AuB4pkHz4Senhsg
7C4+QIkZbiCPibo1ihuu28TpUu5AKZsth+fvw3O6dQ60tipn3HaplNvW2NEiGizx
5r2WnsiyxOepOT/GgjiWR/hMI6VvAbtRnoumVyDq2BHUrFUh0qSgkvTDkpdkdZeb
MOIumtuw5M7chxp5GvFOyKyK9bjBed2uaTbnEFj/qvooolDWZGz7xndzFJ8QGZkB
0yZC1gu5lLgKCHDOAix5jcFKcov+pw3lSXNp5MjFmwXmWJ5q5QrxkeOXAqcFME2F
LgqNpfd6ewinbRDFzHR3r6DQw//PHVbblQPEvVffGYAm5ja4qyYf+aTdNSNfcrMT
FZT9hnys3w6AKW69/g==
=qSWC
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to