Package: wordpress
Version: 5.0.12+dfsg1-0+deb10u1
Severity: normal

Dear Maintainer,

   * What led up to the situation?

Installed WordPress on a new host

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I created a new site with setup-mysql

   * What was the outcome of this action?

After some Apache2 tweaking, I got stuff working but installing plugins
or themes failed with a question to provide ftp credentials. As the host
I am migrating away from didn't need that I tried to achieve the same.
It took me quite some time to find out that I manually changed
/etc/wordpress/config-<domain>.php to include
`define('FS_METHOD', 'direct');`
After doing the same on the new host, installing plugin and themes works.

   * What outcome did you expect instead?

As this file is generated by setup-mysql, it could/should write this
line too, probablye with comments, maybe commented out.

I looked at
https://sources.debian.org/src/wordpress/5.7.1+dfsg1-2/debian/setup-mysql/
to see if the current version is better, but it doesn't seem to add it.

Paul

-- System Information:
Debian Release: 10.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 4.19.0-16-armmp-lpae (SMP w/2 CPU cores)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wordpress depends on:
ii  apache2 [httpd]                             2.4.38-3+deb10u4
ii  ca-certificates                             20200601~deb10u2
ii  default-mysql-client                        1.0.5
ii  libapache2-mod-php                          2:7.3+69
ii  libapache2-mod-php7.3 [libapache2-mod-php]  7.3.27-1~deb10u1
ii  libjs-cropper                               1.2.2-1
ii  mariadb-client-10.3 [virtual-mysql-client]  1:10.3.27-0+deb10u1
ii  php-gd                                      2:7.3+69
ii  php-getid3                                  1.9.17+dfsg-1
ii  php-mysql                                   2:7.3+69
ii  php7.3-gd [php-gd]                          7.3.27-1~deb10u1
ii  php7.3-mysql [php-mysqlnd]                  7.3.27-1~deb10u1

Versions of packages wordpress recommends:
ii  wordpress-l10n                  5.0.12+dfsg1-0+deb10u1
ii  wordpress-theme-twentynineteen  5.0.12+dfsg1-0+deb10u1

Versions of packages wordpress suggests:
ii  mariadb-server-10.3 [virtual-mysql-server]  1:10.3.27-0+deb10u1
pn  php-ssh2                                    <none>

-- Configuration Files:
/etc/wordpress/htaccess changed [not included]

-- debconf information excluded

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to