Impossible to find a way to show, by default, all domains and websites...
When I log on the Plesk Admin, I come first on a list of websites and domains, but they are not «all» listed. I have to go to the full bottom of the page to click on «Show all».
I didn't find a preference or anything else to change that, and I don't understand why all domains are not listed.
I would find an easy way to add a list of IP in Fail2ban whitelist in linux console.What is the file to modify ? Is there a command line or a process ?
Is it possible to query for a list of system users using the API RPC? I know it's possible with a MySQL query
Code: select id, login, account_id from sys_users order by login;
I've searched through the API RPC manual, but I don't see a way to do this. I always have to specify a filter, I can't find a way to just query for all users.
After a migration I did this weekend I mis a couple of the migrated domains in the subscription list. The domains are working great, but I cannot find them in Plesk.
I got this errors in the migration manager:
Info: The password was generated for user 'Domain Administrator (domain.com)'. New password is 'GA66QgQ'
Warning: Execution of /opt/psa/admin/plib/api-cli/user.php --create domain.com -owner admin -guid cfa43606-e8b0-444c-a005-660984840498 -cname Domain Administrator (domain.com) -passwd '' -status disabled -domain-admin true -email '' -external-email true -role Domain Administrator (domain.com) -country NL -legacy-user false -subscription-name domain.com -ignore-nonexistent-options failed with return code 1. Stderr is Error during user creation: Owner with id 1 has not subscription with id 69
Warning: domain "domain.com" Execution of /opt/psa/admin/bin/backup_restore_helper --restore-legacy-dlu domain.com -dlu-info /opt/psa/PMM/tmp/deployer_legacy_dluIrjcWa -ignore-nonexistent-options failed with return code 1. Stderr is Unable to create Account object: Account: unable to select: no such row in the tableClick to expand...
I have Plesk 12 on Centos6.I require a list of every subscription which has consumed the most data on the server. Disk space used by the following files and directories in the subscription:
The Plesk bible only listed that this was possible through Subscriptions > Statistics. URL....However viewing the Subscriptions > Statistics is not an option because there are many subscriptions..I also have access to SSH/terminal and found a script for finding large file and directories here URL....However i rather have it in excel or HMTL format.
I have a customer that would like a list of their email addresses including all aliases and forwarders. Is there an option to export email addresses to CSV? I can't seem to find anything in the control panel and I dont want to copy and paste 300 addresses.
I am trying to update Plesk but whenever i try do so with the installer, the update fails because data is somehow added to /etc/apt/sources.list and sources cannot be read anymore. This happens both with the admin panel and the command lines.
I'm attempting to utilize the WordPress Toolkit. After clicking scan on a webspace with WordPress installed the panel returns the error "'plugin list' is not a registered wp command. See 'wp support'.".
I've tried it on a few servers that has the WordPress Toolkit installed, but they all return the same error.
apparently Envelope-From, Sender and Errors-To headers are set to a wrong address for messages from mailman to the list-owner. This is particularly true for mails like 'message requires approval'.
It seems like the plesk<->mailman magic results in all list-domains being written to the end of /var/lib/mailman/Mailman/mm_cfg.py in the following format: add_virtualhost('list.DOMAIN').This in return results in mail headers Envelope-From, Sender and Errors-To of mailman system mails like described above being set to mailman-bounces@DOMAIN, where DOMAIN is the one from the last add_virtualhost entry.
In my opinion, this obviously is a bug. Maintainance mails from mailinglists have wrong headers set, often with a domain that belongs to a completely different customer than the mailinglist.
I found the following discussion on mailman-users mailinglist from 2008 which discusses the same issue - also a plesk setup: URL....
OS: CentOS 6.5 (Final) Plesk version: 12.0.18 Update #16, last updated at Sept 11, 2014 04:07 AM PHP: 5.4.32
we created a new mailing list test1@domain.tld and we tried to send a message, as administrator, to the list and to the temporary users subscribed.But Mailman dones't send anything ! And we receive this error:
After enabling File Sharing in Plesk 12, the service appears to function correctly. If only a few files are uploaded, they are ok. However, after uploading a directory structure with a handful of MB, and subdirectories, File Sharing stops. It shows at the top of the screen:
"Internal error: The File Sharing service is temporarily unavailable because the site is down for maintenance."
it also says in the main window:
"Unable to load folders list."
Clicking on Upload Files, that dialog also shows "Unable to load folders list."
I have checked that the ownership of those files on the server is www-data:www-data , and that permissions are 755 for directories and 644 for files, because it seems like ownership and permissions could be an issue, however that doesn't fix it. Removing all the files in the share does fix it, however that's not useful if the files should be available for sharing.
I'm looking for a way to get a report of the top domains that are continuously greylisted so I can determine which ones need to be put on the "domains- whitelist" because they use different IPs when resending, causing very long delays (hours/days/never) for each message sent.We're using Plesk11 on CentOS 6.4 with Postfix and the Plesk built-in Greylisting option enabled.
Started after last update 12.0.18 Update #44 (on CloudLinux): I can send mail wia created mailboxes, but sites can not send mail, contact forms say "Failed to send your message." maillog file also do not indicate sending any messages from domains. Wordpress restore password claims:
"The e-mail could not be sent. Possible reason: your host may have disabled the mail() function." php.ini is default: safe_mode = Off disable_functions = is empty
The issue about not sending mail from domains was - old versions of LVE anf CageFS are incompatible with latest plesk update, updating them caused all sites in Cagefs to throw error 500 with log string: "SecureLVE jail error Invalid regexps: no match for path to base home directory". It was fixed by changing cagefs.base.home.dirs regexp to the real sites folder location. Enabling cagefs back removed one of the files it shouldn't:
"Removed file /var/cagefs/81/xxx/etc/php.d/soap.ini" So be carefull to place necesssary files back. For now everything works. Click to expand... Click for original message
I just want to remove plesk and installed again. i saw (URL...) this page. use this code but plesk not removed. my sites are gone.how can i get back my site? what i should install.When i try install plesk 12 says you already install version 11.0.9
I seem to have an error with backing up to my personal FTP repository. I have only just noticed the issue, but i believe it originated when I upgraded Plesk Panel 11 to Plesk Panel 12. I am currently running version 12.0.18 on Cent OS 6.5.
Note whether i check the "Use passive mode" option makes no difference to my problem.Below is what I get from the panel.log under /usr/local/psa/admin/logs
We have created symlinks, modified some configuration files (Plesk included) and ran domains reconfiguration script (zero domain installed, but just in case the script will do anything else).
After that, we have launched Plesk Migration Wizard (from Plesk 9 to last release).
Everything has worked fine: all domains have been migrated on our new folders (/opt based) and owners has been correctly defined for each domain. The same for MySQL and all mail accounts.
We have checked Apache VirtualHost configured by Plesk Migration Wizard : our new folders are used (/opt).
So all seems to be ok.
But now, all websites (configured with Apache and Apache PHP module) returns 403 Forbidden error.
We have try changing to FastCGI with Apache same error.
We have try changing to full Nginx (PHP and static files), some websites run.
We have checked some KB (112884, 800) but all seems to be good.
Is there any steps we have omitted when we move folders ?
After successfully changing to a fresh created dhparam pem and a reissue of my certificate all was well.
A couple of other things needed to be done so I followed the article: [URL] ....
nginxDomainVirtualHost.php was already present so the only thing I did was adding the ciphers I got from another site (ciphers that also gave me XP and IE8 support etc.)
After executing the httpdmng --reconfigure-all command I instantly got a error message:
I am seeing some some some strange behaviour when password protecting directories served by nginx and PHP-FPM. If I have a site set up so that 'Process PHP by nginx' is selected under ('Websites & Domains>Web Server Settings>nginx settings') and set up password protection ('Websites & Domains>Password-Protected Directories') PHP pages are still served without asking for a password.
If I untick 'Process PHP by nginx' the behaviour returns to normal and an attempt to any access files results in the password request.Is this behaviour by design? If so, it is not made clear when you set up the password protection that it will not apply to PHP pages if you have nginx process the PHP pages.
Recently, we had trouble with Horde, which I Re-installed. However, since then any change that is made to a domain in plesk (changing mailbox settings, domain settings, hosting settings) All website show the default plesk page and I will have to re-run the reconfigure-all command in SSH to bring them all back up. Sometimes even that won't work and I will have to re-run the bootstrap repair command. We were actually on Plesk 11 when this started happening, so we upgraded to Plesk 12, but unfortunately this did not fix the issue.
We have around 500 customer websites on this server, so obviously the changes are made often and the sites going down on every change isn't great at all.
I have a long list of these errors in my error Plesk error log:
2014/09/25 17:31:53 [error] 818#0: *1566 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: *.*.*.*, server: , request: "$
But I can't seem to find out if this is the cause, or how to fix this error correctly on a Plesk install.
I am trying to increase the PHP memory limit for all Plesk hosted sites.
I've updated the 'memory_limit' setting in /etc/php.ini
Then I ran
Code: /usr/local/psa/admin/sbin/httpdmng --reconfigure-all /usr/local/psa/admin/sbin/httpdmng --reconfigure-server Checking a phpinfo() page on hosted sites I see that this setting has not been effective.
Checking some /var/www/vhosts/system/domain.com/etc/php.ini also shows the old setting, and I can see that these files have not been updated.
I note that all these domain php.ini files have been modified earlier today, all at the same time, so presumably some process did regenerate them earlier. All these files hae the "DO NOT MODIFY ..." heading
I realise that I can go the the domain in Plesk GUI and save the PHP settings to force an update, but is there anyway to force the regeneration of all of these files via CLI?
When I turn on nginx for the server I am able to browse non SSL protected sites correctly. I receive a 502 Bad Gateway error on any sites that have an SSL certificate. Is there a fix for this? I have been unable to find one.