Plesk Automation :: Selected Webspaces Scheduled For Removal But Not Deleting
Mar 27, 2015
So per my other message [URL] .... we have four websites which we can't delete from PPA (Services/Websites doesn't have a way to do that) or from Hosting Panel (Webspaces says, "The selected webspaces were scheduled for removal," but they don't delete). In Hosting Panel, three have always shown as Failed and one as Pending.
The DNS zones can be deleted but they reappear if I "Apply DNS Template Changes" presumably because the websites are defined.
Some of our clients have alot of webspaces (resellers that migrated from Expand) and having to order the list of webspaces each time they want to move to another domain is causing them some hassle. Is there a way to set the webspaces to order by name by default?
On a new install, if I create IPv4 and IPv6 pools (one of each enabled for branding), and create a brand using "IP address"="Shared IPv4 and dedicated IPv6", it fails without an onscreen error. A webspace is created but marked "No hosting" in PPA and Failed in Hosting Panel. A DNS zone is created. At that point I can't delete the webspace from Hosting Panel and there doesn't seem to be a way to delete it from PPA, however, I can delete the DNS zone.
This is in poa.log, not sure if it's relevant: Mar 26 09:19:20 ppa: ERR [UI:ecc45799:1427379560608 1:18157:b25ffb70 lib]: [Facade:leskResponse:arse] Plesk error 1013 Mar 26 09:19:22 ppa: ERR [openapi-firewall:b09ffb70 1:18032:b09ffb70 lib]: [iqxmlrpc-server] Server: Server error. Method 'system.methodSignature' not found.
Also after the DNS zone is created, the below is logged in poa.log...it doesn't seem relevant to the branding error but does seem to be a problem...
Mar 26 09:28:27 ppa: ERR [task:181:1932 1:18142:b33ffb70 lib]: [task:181 InteractiveHostOps:erform] ExSystem: module_id:'Common', ex_type_id:'1',Message:'Destination host 'ppa.example.net' (#1), IP '99.99.99.99' : Internal error: /usr/sbin/rndc /usr/sbin/rndc reconfig failed with code 1 saying: STDOUT: '' STDERR 'WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf) rndc: connection to remote host closed
I just upgrated from Plesk 11 to Plesk 12 and now it looks like my admin account is not admin anymore. I can only see the domains that is subscribed to my username.
Is that normal? How can I see all subscriptions now?
Plesk 11.5.30 all latest updated installed is used with Power-User view on an Ubuntu 12.04 LTS 64 Bit system.
The Plesk Interface is working well in general. But if the customer clicks on "Webspaces" -> Add Webspace they run in a:
[URL] ....
Browser: 502 Bad Gateway nginx
To try to fix it with:
/usr/local/psa/admin/bin/nginxmng --disable /usr/local/psa/admin/sbin/httpdmng --reconfigure-all /etc/init.d/apache2 restart /etc/init.d/ngnix restart ( does not work anyway since the customer is not using it ) -> ngnix_enable=no
Which did not work ( ngnix is and was not active )
In the log /var/log/sw-cp-server/error.log
we can see:
[error] 1936#0: *180 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 84.177.142.220, server: , request: "GET /smb/account/create-subscription HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "server:8443", referrer: "https://server:8443/smb/account"
So after the palaver yesterday, I managed to remove everything to a degree enough to reinstall Plesk. I'm still having quite a few issues but at least the websites are up and running again.
One of the more important ones is SSL certificates. Apparently they still exist somewhere, but they're not showing up in Plesk.
I tried doing /usr/local/psa/bin/certificate -l -domain <domain>, however that returns:
After finishing the upgrade from 11.5 to 12.0.18 I checked the system time which was wrong and no timezone was selected ....
So I switched to my timezone (GMT +3) and corrected the clock from the above settings cause it was 5 minutes behind saved .... since then the time is showing 1 hour later the selected one. like GMT+4.
No matter if I change it manually it returns there.
in order for the server to work correctly i changed the timezone to GMT+2. OK the time is corrected - although wrong cause it should be 1 hour earlier, but anyways Now all incoming email messages still show one hour late as received date. So I tried restarting courier-imap
# service courier-imap restart courier-imap: unrecognized service
I found that in the Autoinstaller that there is an option to remove the Plesk Panel as a component. One of my customers ended up selecting this option and nuked all the psa functions. As you can imagine this was a nightmare for them since Plesk went away on them.
Is there a way to disable this feature either pre or post Plesk installation (or both) so future customers don't have this option? If there is a way to do this (and of course enabling it again if necessary)....
I have Plesk 11.5 installed on my server. There are about 30 sites on the same shared IP address. I need to set up a site to be accessible via https://<ip-address-of-the-server> . According to the documentation I went to Setting -> IP Addresses and selected the desired site from the drop down. Now http://<ip-address-of-the-server> (note, 80th port) works like a charm. Unfortunately https:// displays only the first page of the selected site; all CSS, JS and other files are not found (404).
I did some research and found that Nginx forwards the requests to Apache for all the PHP files and tries to handle all the static files by itself (what is expected and correct). But it looks like that there is no special configuration for nginx which would specify where to get these static files for the IP address, and Nginx just uses the first loaded config (started from b in my case).
I temporary resolved this issue by modifying the last_nginx.conf for the desired domain this way: listen XX.XX.XX.XX:443 default_server ssl;
Note I added "default_server" directive. Of course it would be erased on each reconfiguration of the config files, but as for now I do not see how I can put it in custom nginx.conf or on the server servel level. I reckon Plesk should include the directive in the file the same way as it produces last_httpd_ip_default.conf Apache config for the selected domain. It looks to be an easy fix on the template level, may be I will do it later, but for now this is just the bug report.
[LOGTEE]: Error Downloading Packages: [LOGTEE]: [LOGTEE]: libuuid-2.17.2-12.18.el6.i686: failure: Packages/libuuid-2.17.2-12.18.el6.i686.rpm from base: [Errno 256] No more mirrors to try.
On a clean install of CentOS 6.6 (Final) I did the following:
1. updated the /etc/hosts file to point my ip to the hostname
2. Open the ports in the iptables file.
3. ran the ppa_installer per the instructions on [URL] ....
The ppa_installer log says installed Successfully. However the following occurs:
1. Cannot browse to the url:8443, or any of the other variations (8080, 8880, https/http)
2. Yum installer is now broken (I replicated this twice). Yum will not run at all with the following error:
There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib64/libcurl.so.4: file too short
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the
current version of Python, which is: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
I am now going to try Cent OS 6.4.. will report back.
I have a repository backup that I want to partially restore. I see the option "Selected Objects" but it cannot be selected. I'm wondering why that is not an option? I'm also wondering what "restore this backup despite the fact that it does not have a valid signature" means. I see a check box. Is Plesk telling me my backup doesn't have a valid signature? What is the meaning of a "signature"?
i have a problem with my plesk 12 Installation on a Windows Server 2012 R2 Standard machine.
When I select a Website and want to change the php settings for that page it wont apply the new settings.
I placed a phpinfo() file in the Folder of that Website to test that. The weird thing is when i change the memory_limt value it is visible on the phpinfo() but when i change post_max_size or upload_max_filesize nothing changes.
I set up a FTP backup repository today however when attempting to restore selected objects from the backup there are a couple of messages that state:
"Restore the backup file despite a corrupted signature"
"You can select objects to restore only when you are restoring from backups that were created in Plesk 12.0 or later."
I noticed that the backup residing in the FTP repository has a .tar extension whilst the one I did in the server repository has a .xml extension.
Restoring selected objects from the server repository works fine.
Why is this not possible? I'd like to restore selected objects from the FTP repository. Otherwise I'll have to transfer the backup file from FTP repository to the server which is really inefficient.
I am running Plesk 12 on CentOS 7 64bit. I have set up the server backup instead of the website backup as I assume that will backup all server settings, as well as the website? I am running Plesk Web Admin Edition.
I have the backup set to run and dump into Personal FTP, but it does not run. If I run the backup manually, everything works great, but the scheduled backups don't work.
after creating a new cron job, when i try to open Scheduled Tasks i get this error :Internal error: DateTime::__construct(): Failed to parse time string (2015-05-28 0.12:0:37) at position 17 ): Unexpected character
Message DateTime::__construct(): Failed to parse time string (2015-05-28 0.12:0:37) at position 17 ): Unexpected character File Helper.php Line 143 Type Exception
Is there a way to run an additional task after the scheduled backup has completed?I want to copy the backup off-site. I can't use FTP, otherwise I'd use the built-in 'Personal FTP Repository' feature. (See Rsync, Amazon S3, Rackspace cloud files, etc)
I could just create a new scheduled task, but the backup takes an unpredictable amount of time, and the tasks need to run sequentially. Also, the 2nd task should only run if the backup succeeds.
I could disable the backups in the control panel and create a new scheduled task that does both the backup and the additional task. But then the functionality of the control panel's Backup Manager page is lost.
workaround 1) rpm -q --scripts psa-backup-manager | sed 1d | sh 2) /etc/init.d/crond restart
my error message with CentOS 5.8, Plesk 11.0.9 MU#4 sh: line 2315: syntax error near unexpected token `(' sh: line 2315: `preuninstall scriptlet (using /bin/sh):'
/etc/cron.d/plesk-backup-manager is created
why do not work after you upgrade the backup cronjobs?