I did a clean install of Wordpress. Logged in and all that but when I try to install any plugins, it asks me to put ftp credentials or some kind of permission. Here is the screenshot of the issue.
Screenshot
https://ibb.co/hRNQHZG
Can't install any plugin on Wordpress Topic is solved
-
- Posts: 17
- Joined: Sat Dec 30, 2017 6:33 am
Can't install any plugin on Wordpress
- Attachments
-
- dietpi_wordpress.png (10.51 KiB) Viewed 2090 times
Re: Can't install any plugin on Wordpress
Hi,
this is a behavior of Wordpress themselves and you would need to install a FTP server. It can be easily done by running dietpi-software and than select ProFTP as File Server
this is a behavior of Wordpress themselves and you would need to install a FTP server. It can be easily done by running dietpi-software and than select ProFTP as File Server
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 17
- Joined: Sat Dec 30, 2017 6:33 am
Re: Can't install any plugin on Wordpress
@consig1iere
what is the exact error message you are facing? You just posted a simple login screen but without any error message.
what is the exact error message you are facing? You just posted a simple login screen but without any error message.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 11
- Joined: Sat Aug 08, 2020 4:59 pm
Re: Can't install any plugin on Wordpress
Dietpi fresh convert ;
I experience similar issue with fresh install of wordpress. Have setup basic install on but wordpress can't write to it's plugin directory.. surely we don't need to adjust ownership to operate basic functions ? Have added define('FS_METHOD','direct');
to the wp-config to stop it requesting ftp target info which clarifies a permissions blockage..
dietpi@BerryDietPi:/var/www/wordpress/wp-content$ ls -l
total 12
-rw-r--r-- 1 nobody nogroup 28 Jan 8 2012 index.php
drwxrwxr-x 3 nobody nogroup 4096 Jun 10 21:48 plugins
drwxr-xr-x 5 nobody nogroup 4096 Jun 10 21:48 themes
please advise
I experience similar issue with fresh install of wordpress. Have setup basic install on but wordpress can't write to it's plugin directory.. surely we don't need to adjust ownership to operate basic functions ? Have added define('FS_METHOD','direct');
to the wp-config to stop it requesting ftp target info which clarifies a permissions blockage..
dietpi@BerryDietPi:/var/www/wordpress/wp-content$ ls -l
total 12
-rw-r--r-- 1 nobody nogroup 28 Jan 8 2012 index.php
drwxrwxr-x 3 nobody nogroup 4096 Jun 10 21:48 plugins
drwxr-xr-x 5 nobody nogroup 4096 Jun 10 21:48 themes
please advise
Re: Can't install any plugin on Wordpress
ok there seems to be something wrong on WP installation. Usually user should be www-data and not nobody . Pls do following on a fresh install
- install WP using dietpi-software
- reboot system once completed
- before opening webside, do following on command line: chown -R www-data:www-data /var/www/wordpress/
- opening WP webside on browser and finish initial installation
- WP should be able to write down wp-config.php to OS level now
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Can't install any plugin on Wordpress
Fixed for v6.32, many thanks!
-
- Posts: 11
- Joined: Sat Aug 08, 2020 4:59 pm
Re: Can't install any plugin on Wordpress
Thanks for the advice and news of the fix for next release.. fab!
-
- Posts: 11
- Joined: Sat Aug 08, 2020 4:59 pm
Re: Can't install any plugin on Wordpress
could there still be some permission issues ? - In my imported WP blob we can only see home page and no others which could be permalinks error though have tried every suggested fix and alternative ways of migration to similar effect. each page returns 404. If i import same blob to other hosted services, all works just fine.. please advise