Koozali.org: home of the SME Server
Contribs.org Forums => Koozali SME Server 10.x Contribs => Topic started by: RDMidtun on August 13, 2021, 03:50:16 PM
-
After a fresh install and a restore from 9.2, I successfully installed the smeserver-wordpress. After installation I can visit my wordpress site and it looks like and works as it was on my 9.2 installation. But, I am not able to login to adminstrate my site anymore. This is because the Password field is not enabled (not possible to type into).
-
Note that this bug is set as resolved, but not closed as yet, and the contrib has not been released. So YMMV.
Can you describe exactly how you installed this please?
Did you have any plugins installed previously?
Can you show this without the sensitive bits:
config show wordpress
-
I did not know that there was a bug already for this. Anyway, I knew the contrib was not released yet, but thought you wanted some help testing it out. If it is to far from being released, I can back out and un-install waiting for it to be released.
Installation
[code][root@e-smith ~]# yum install --enablerepo=smetest smeserver-wordpress
Yes, I have had the wordpress site for several years and have various plugins installed. But, since I can not get into the admin, I can not give you an exact list of the plugins. Is there some folder in the installation that can give me this info?
[root@e-smith ~]# config show wordpress
wordpress=service
AllowOverrideAll=disabled
BackupFiles=enabled
DbName=wordpress
DbPassword=xxxxxxxxx
DbUser=wordpress
Https=enabled
Indexes=disabled
Name=Wordpress weblog
PublicAccess=global
SymLinks=disabled
WpLang=en
status=enabled
[root@e-smith ~]#
-
I've moved the wordpress migration bug 11428 back to in progress, failed to install on a test VM..no deps, more investigation needed
-
I've had it installed for a month or so with no obvious issues. Can log into admin ok. And it just sent me an email stating it has auto updated to wordpress 5.8.
grep wordpress yum_installed
smeserver-wordpress.noarch=package|Repo|@smetest|Version|1.2-11.el7.sme
-
Yep, created a new VM, had no issues installing etc, old VM had been used for many testa nd in particular mysql prodding and poking...
So far so good
bug back to resolved
-
Plugins activated:
WP fail2ban
Akismet installed but not activated.
-
Clean VM - old one must have had issues form other installs and mucking about with mysql etc
yum install smeserver-wordpress --enablerepo=smetest,epel
then
https://192.168.2.110/wordpress
and I am at the setup forms etc logged in and at admin page, so looks good as far as a clean install goes
Added,: dont think epel repo is needed
-
After a fresh install and a restore from 9.2, I successfully installed the smeserver-wordpress. After installation I can visit my wordpress site and it looks like and works as it was on my 9.2 installation. But, I am not able to login to adminstrate my site anymore. This is because the Password field is not enabled (not possible to type into).
so at worst the wordpress mysql db should be OK, the backup should have restored that to your sme10, are you able to confirm that?
As far as I know an install does more than just an update, it installs the lates wordpress as part of that install, I would be looking at the db for username and password, just me...others may have more knowledge here, I am not a worpress user
Added: lots of mentions about disabling jetpack in google, dunno if you have this installed or even how to disable
-
so at worst the wordpress mysql db should be OK, the backup should have restored that to your sme10, are you able to confirm that?
As far as I know an install does more than just an update, it installs the lates wordpress as part of that install, I would be looking at the db for username and password, just me...others may have more knowledge here, I am not a worpress user
Added: lots of mentions about disabling jetpack in google, dunno if you have this installed or even how to disable
The fact that the site works as before, points in the direction that the mysql and login to the database is working. Upon installation, my site is probably upgraded to the newest wordpress version. My guess is that this version have an issue regarding the plugins installed. Googling gives info regarding issues with the jetpack plugin. Here are my plugins:
[root@e-smith wordpress]# ls wp-content/plugins/
akismet geotag jetpack nextgen-gallery restrict-author-posting
avh-first-defense-against-spam hello.php mce-table-buttons nextgen-gallery.zip xml-google-maps
category-specific-rss-feed-menu index.php mce-table-buttons.1.0.2.zip php-enkoder xml-google-maps.1.12.1.zip
[root@e-smith wordpress]#
Is there a way I can disable the plugins manually by tweaking php files? Could I remove the plugin folder and thereby de-activate a plugin?
-
Yep, lots of chat about jetpack plugin..prime suspect
May help - https://www.greengeeks.com/tutorials/how-to-turn-off-plugins-without-wp-admin-access/
-
Yep, lots of chat about jetpack plugin..prime suspect
May help - https://www.greengeeks.com/tutorials/how-to-turn-off-plugins-without-wp-admin-access/
The problem was fixed by renaming the jetpack plugin folder. Renaming a plugin folder is causing an error in the loading of the plugin and the result is that the plugin is de-activated. After de-activation the password field was enabled for input.
[root@e-smith plugins]# cd /usr/share/wordpress/wp-content/plugins
[root@e-smith plugins]# mv jetpack jetpack_deactivate
-
Quelle surprise ;-)