Plesk 11.x / Linux :: How To Track Wordpress Versions On Whole Server
Sep 6, 2013
I know it's not specifically a plesk issue, but as I use plesk to resell webs and many users install (manually) wordpress, I thought I'll ask around.I would like to know if this can be done with a single sql select or if I would have to use a script to do this:
- track all mysql databases on my server
- find the proper table in each database (as the prefix can be customized, the start of the table name will probably never be the same in two WP installations)
- find the proper field in that table and check the WP version and administrator email
and then what I will do is send an email to those adresses advising them to update WP
I have tried to install multiple versions of PHP as described here: [URL] The option "Add/Remove Components" > "Web hosting features" > "Different PHP interpreters versions" is not available in the Parallels Installer. I am using Plesk 12.0.18 on CentOS release 6.6 (Final)
A really nice feature has been brought to plesk with the native support for multiple PHP versions now.I tried it out, but there seems to be an error in the session.save_path of PHP 5.5.23 (the one I tested).sessions.save_path points to /var/lib/php/sessions but the default before seems to be /var/lib/php/session so the folder does not exist.For now I simply worked with a symlink to solve the problem:
cd /var/lib/php/ ln -s session sessions
Not sure if other PHP version or other OSes (besides PHP 5.5.23 and CentOS 6.6 are affected).
According to: URL....I tried to install php 5.3...Before able to .configure php source, i must install several dependencies. I resolved most of them but installing libmcrypt-devel gives the following error:
For some application-testing I installed PHP 5.5 and PHP 5.6 alongside the existing PHP 5.3 installation. To do that I used the web-interface of the Plesk-installer.
Installing the software went well, or at least didn't show any errors.
After installing I went back to the login-page to get back into the portal, but that didn't work.
I am using the right username and password and don't see any errors, I just keep getting the login-screen and no errors. Logging in through SSH is working as it should. Only access to Plesk on 8443 seems to be denied.
Server reboot didn't work, restarting Plesk-services didn't work...
How can I restore this so I can get back to work?
This Plesk-installation is on a CentOS 6 server on which I have full rights.
I have a clean installation of Parallels Plesk on my server, and I installed wordpress on two of my domains. I'm scanning for installations through Plesk Admin, and it shows two installations with empty name and the toolkit is not functional at all. Check the attached screenshot.
We need to upload to a virtual server (managed with Plesk 11.5) a Wordpress site developed locally. We made this operations without problems many times on other hostings managed with custom panels, non-Plesk.
On the virtual server with Plesk, however, once the files are uploaded via FTP, the database via phpMyAdmin and updated the Wordpress configuration file, when you go to visit the website, it does not display anything and the browser opens the download window for a text file called "download" that contains the code of the file index.php of WordPress.
I've searched and tried every solution to this I could find. When Plesk 12.1 is configured to process php by nginx, I just can't get Wordpress permalinks to work. If I switch permalinks to default the pages will appear, but if I use something like day and date for the permalinks I get a Nginx 404 error. Of course if I'm just using Apache and it can read the .htaccess file everything works fine. I think part of the reason the solutions I find won't work is my main site is static with the wordpress blog in the /blog/ subdirectory. What would I add in Plesk to get permalinks to work correctly with wordpress in a /blog subdirectory. I'd also like to get WP Super cache working as well if possible.
I have some issues access my files through FTP. I created a new FTP user, that match the domain name, so it is easy for me to terminate access if i choose to delete the domain.
I can only access / see files that i uploaded with that specific FTP user. If i install a plugin inside Wordpress, i can not access those files via FTP.
If i login via SSH, with the root user, i can see all files.
I have tried to add the FTP user to the psacln group, but no luck.
I recently changed the main domain url from website.com to www.website.com, this resulted in 404-errors when i navigated to wordpress...
I found a solution on the internet and updated the records with phpmyadmin [URL] ....
When I click on Login at the the WordPress Installations I'm still being navigated to the old website url. It supprices me that there is no option to change it on Plesk level after wordpress is deployed.
How can i change or update the wordpress path once it is installed in Plesk?
I'm using CentOS 6.2, maybe there is a config file or an database for Plesk?
See the attached jpeg for the complete error message.
All the sites are working okay so we know the databases are accessible and working. We have the latest version of Plesk 12 with micro updates done daily. This is a plain installation with no mods to the system files or software. This is hosted at 1and1.com; our other server at Rackspace found the WP installations without any problems.
Component nameComponent version awstats7.3-14050621.parallels bind9.8.2-0.23.rc1.el6_5.1
i went to server setting and checked manage php with nginx then start getting 404 Not Found nginx. It was clear that it s a problem with the wordpress permanent links so i went in wordpress back-end and switched to default links then it start working but when i switched to permanent link againi got the previous error again
I searched for a while on internet and i found . URL.... So the problem that i have is that i added this piece of code manually in : /var/www/vhosts/system/domaine.com/conf/nginx.conf....Since it s mentioned above
#ATTENTION! # #DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY, #SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
if I try to use the new wordpress service in the admin panel, I get following errors:
By starting a search of wordpress installations: PHP Fatal error: "Die Suche nach WordPress-Installationen wurde mit Fehlern abgeschlossen: Resource with UID 'c94fef81-1552-43e1-ae5b-ce125776caa7' not found."
One installation is found but by open the detail view I get the error "Call to undefined function is_admin() in /usr/share/plesk-wp-cli/php/wp-cli.php(18) : eval()'d code on line 87".
So. Plesk has a button to enable or not enable automatic updates of WordPress installations it knows about. I toggled it and it didn't seem to effect the setting in my wp-config.php file:
//--- disable auto upgrade define( 'AUTOMATIC_UPDATER_DISABLED', true );
which remained like that whatever I did to the Plesk button.
Nor does it seem to set this setting either way: define( 'WP_AUTO_UPDATE_CORE', false );
So. Is it something independent of WordPress? I.e. Plesk goes and gets the updates and applies them? If so - what updates is it getting - major changes or just minor ones?
If I try to fetch manual Wordpress installations, they run in trouble with the Wordpress support (doesn't recognize them). Also if I do a fresh installation of Wordpress, it's recognized first but all changes to plugins or themes within Wordpress are not recognized and handled, also if removing the installation in Plesk and rescanning for installations.
When I visit the Wordpress Toolkit page on one of my servers I get the following error...Internal error: Specified column "name" is not in the row
MessageSpecified column "name" is not in the row File Abstract.php Line179 TypeZend_Db_Table_Row_Exception Go To Previous Page
This server appeard to upgrade successfully, and has the relevant tools installed with no errors on apt-get.Perhaps removing and re-installing the wordpress toolkit will work?
To be clear i don't mean the wp-config.php admin password for mysql but the wordpress Plesk admin account that is associated with Log in button
For some reason my user has lost his password and is not able to use the Wordpress forgot password - wizard form at the page where you normally logged on.
I have tried to reset the password via Change Account on the WordPress Installation and it came back with the message
Error: Unable to find the specified administrator account in WordPress. Specify the username of your administrator's account in WordPress. This account will be associated with Plesk.
I have tried to add another admin via MySQL with this [URL] ... and that didn't work either.
I read in the Plesk 12 release notes that resellers should have access to the new Wordpress toolkit. However, when I login with a reseller account, the Wordpress tool does not show up in the left-hand side menu. What do I need to do to give resellers access?
My Wordpress Toolkit stops showing the Wordpress Installations.
Instead of that, is showing a yellow sign with the following error:
"Decoding failed: Syntax error"
I found this [URL] ... but it did not work for me.
I decided to reinstall several times my Wordpress site using my Wordpress backup.
The Wordpress installation using the Toolkit works fine, however, when I update Wordpress (core, plugins or theme) within my Wordpress dashboard, the Plesk's Wordpress Toolkit keeps saying there are still updates pending. Also I noticed that if I change the site's name in my Wordpress dashboard, the Plesk Wordpress Toolkit keeps showing the old one. (same happens with languages)
Although my website is working fine, after a while, not matter if I update or not my Wordpress site using the Toolkit, eventually I receive the "Decoding failed: Syntax error" in my Plesk panel.
Plesk version 12.0.18 Update #24, Centos 6.6 Final