Your message dated Tue, 21 Dec 2021 07:20:20 +1100
with message-id 
<CALy8Cw5yDqhMngXNFx7T=5+pqxzb48e2x3dta1okscjrjrf...@mail.gmail.com>
and subject line Re: Bug#1001804: Image preview not available in wordpress
has caused the Debian Bug report #1001804,
regarding Image preview not available in wordpress
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.)


-- 
1001804: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001804
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wordpress
Version: 5.8.1+dfsg1-2
Severity: normal

Hello,

with the actual debian installation, wordpress shows no preview of uploaded
images, neither in the media nor in the post. 

The fix for that would be
--- a/debian/wordpress.postinst
+++ b/debian/wordpress.postinst
@@ -16,6 +16,9 @@ case "$1" in
        if [ -f "$APP_PROFILE" ] && aa-status --enabled 2>/dev/null; then
            apparmor_parser -rTW "$APP_PROFILE" || true
        fi
+
+       # Symlink needded, otherwise no image preview
+       ln -s /var/lib/wordpress/wp-content/uploads 
/usr/share/wordpress/wp-content/uploads
        ;;
 esac

(MR coming soon)

Greetings
Katharina

-- 
Berner Fachhochschule / Bern University of Applied Sciences
IT-Services / Team Linux & Infrastructure Services
Katharina Drexel
IT System Engineer

--- End Message ---
--- Begin Message ---
On Mon, 20 Dec 2021 at 22:28, Katharina Drexel <[email protected]>
wrote:

> Now the images are loading without any problems. Thanks for that hint!
>
Closing bug.

--- End Message ---

Reply via email to