Plesk 12.x / Linux :: Migration Fails - Wrong Syntax For Command Parameter
Jul 15, 2014
We're trying to migrate a Webspace from a 11.5 to a 12.0.18 Plesk host using the Migration Manager. The Webspace contains 4 domains. The main domain of the webspace gets migrated fine, however, all of the "child" domains fail with the following error:
Stderr is
Wrong syntax for command's '-webspace-name' parameter. 'webspace-domain.ch' does not match the pattern '/^[[:alnum:]]([[:alnum:]-]{0,61}[[:alnum:]]){0,1}(.[[:alnum:]]([[:alnum:]-]{0,61}[[:alnum:]]){0,1})+$/iu'.
I had a old virtual Server with Ubuntu+Plesk12. I build a new dedicated Server with CentOS6+Plesk12 and migrate all Domains. Now i have a strange problem:
When i upload a file with FTP-User "user1", the file has the permissions Group=psacln & Owner=user1. All is fine, i can see and edit this file in a FTP-Program. But when my website create a file (cache html files or installed plugin folders in wordpress), I can't see, can't edit and can't download this files.
When i login to plesk with the admin account, i can see and edit this files. They have also Group=psacln & Owner=user1 and i can give them 0666 rights but when i login with FTP-User "user1" with my FTP-Program, I didn't see that files?!
Migrating accounts to a fresh Plesk 12 installation task fails with the following error: Perhaps /usr/local/psa/admin/bin/deployer application missing, has incorrect permissions or unexpectedly terminated
Fresh install of Plesk 12.0.18 MU42 on CentOS 7.1. Tried to reinstall, same problem.
Although running >> /usr/local/psa/bin/dns --info dev.sname.c002.aname.domain.com >> shows the 'ecz1' TXT record exists for "dev.sname.c002.aname.domain.com" : ... ecz1.dev.sname.c002.aname.domain.com. TXT ecz1
[Code] ....
The issue can be caused by extra spaces in the TXT record:
Code: [root@a10-52-143-28 ~]# /usr/local/psa/bin/dns --add dev.sname.c002.aname.domain.com -txt 'ecz1 ' -domain ecz1 SUCCESS: Creation of DNS record in Domain 'dev.sname.c002.aname.domain.com' complete. [root@a10-52-143-28 ~]# /usr/local/psa/bin/dns --del dev.sname.c002.aname.domain.com -txt 'ecz1' -domain ecz1 Unable to del record in DNS server: unable to find DNS record
In the following example I have 3 such TXT records with 3, 5, 7 extra spaces and remove record with 3 spaces:
Code: [root@a10-52-143-28 ~]# mysql -u admin -p`cat /etc/psa/.psa.shadow` psa -e "select host, val, (length(val) - length(rtrim(val))) as extraspaces from dns_recs where host='ecz1.dev.sname.c002.aname.domain.com.' and val like 'ecz1%'" +---------------------------------------+-------------+-------------+ | host | val | extraspaces | +---------------------------------------+-------------+-------------+ | ecz1.dev.sname.c002.aname.domain.com. | ecz1 | 5 | | ecz1.dev.sname.c002.aname.domain.com. | ecz1 | 3 |
When I try to migrate from plesk 11.5 to Plesk 12.0 appears this error "Backup has wrong signature. Restoration prohibited" and migration is not performed . The Plesk 12.0 is a new installation in a new Windows 2012 R2 server.
I've been with my Strato VServer and it installed Plesk on Linux a big problem.
I coming no longer in the Plesk Dashboard and the following code appears:
Syntax error or access violation: 1286 Unknown table engine 'InnoDB'
Here are the contents of my my.cnf
# # The MySQL database server configuration file. # # You can copy this to one of: # - "/etc/mysql/my.cnf" to set global options, # - "~/.my.cnf" to set user-specific options. # # One can use all long options that the program supports.
I am using Parallels Plesk Panel v. 11.0.9 on a V-Server provided by Strato (Germany), the OS is Ubuntu 10.04 LTS. Established and running under Plesk is a MySQL-Database, administered via Plesk by PHPMyAdmin 3.5.8.1. PHPMyAdmin offers the following information:
Datenbank-Server
Server: Localhost via UNIX socket Software: MySQL Software-Version: 5.1.41-3ubuntu12.10 - (Ubuntu) Protokoll-Version: 10 Benutzer: admin@localhost Server Zeichensatz: UTF-8 Unicode (utf8) Webserver
sw-cp-server Datenbank-Client Version: libmysql - mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $ PHP-Erweiterung: mysql Click to expand...
I recently set up an eas and autodiscover sub-domains on my main domain (eg myserver.com) running Plesk, Webmail etc, and is the default website for the ip.
So it should be..
myserver.com (not SNI default for IP) eas.myserver.com (SNI) autodiscover.myserver.com (SNI)
But I notice the actual default site (non SNI) is the sub-domain autodiscover.myserver.com.
I checked in
Plesk -> Tools & Settings -> IP Addresses
and that was set correctly, so I tried to change it and back again, then...
/opt/psa/admin/bin/httpdmng --reconfigure-all
Neither worked.
I'm running Ubuntu 12.04.5 LTS and Plesk 11.5.30 #48 (the latest MU)
I'm new to Plesk - I've inherited a web site for a local social club so have just been handed login and password. I believe I have version 11.0.9 and as I can see mention of an Apache webserver I'm guessing its linux.
So - I want to redesign and use Joomla so I can share the content updating with others.
I can't install Joomla as I have PHP 5.1 and need 5.3. I have no 'server' or any sort of option I can find (and I've looked everywhere!) to find a command line or somewhere I can run things.
When I try to allow SSH access the option says Forbidden and there is no option to change it.
I have a problem where every folder I ftp onto the server gets given a 700 permission and every file gets a Zero permission. Most of the sites I am adding to this server will be WordPress sites and most of the folders I want to have a permission of 755 and for the files a permission of 644 so my question is how do I change the settings so that any new files ftp'd onto the server get the permission 755 and files get the permission of 644 ?
I'm running Plesk 12.0.18 on Centos 7, recently I've got emails from backup service stating that it could not complete the backup due to insufficient space available on disk. Normally I have plenty of disk space available so I check the disk using the command
df -h
Filesystem Size Used Avail Use% Mounted on /dev/root 20G 2.3G 17G 13% / /dev/md2 91G 82G 4.4G 95% /var
it seems that /var has been growing up a lot, but if I run the command du -sh /var I get a total size of 5.7G (not 82G as stated before)
is Plesk calculating the wrong size or it's me using the wrong commands?
I set this up for someone, and temporarily changed the email for the administrative account to my address.
I have since changed this back to the original email, but Plesk keeps sending the administrative emails to my account.
I've pretty much grepped through the entire server for my email in order to stop it sending me emails, but I can't for the life of me find out why it keeps sending these emails to me.
How do I make Plesk send these emails to the right email-account?
I think the samba add on for Plesk 12 is not correctly implemented for CentOS 7.To get smb users added I first had to manually install the samba-client, since smbpasswd was missing:
Code: yum install samba-client Next I had to manually run
Code: chcon -R -t samba_share_t /var/www/vhosts/my-server.tld/ for each share to be able to access it...
the hostname is www.domain.com also in the serversettings of plesk. When we go to http://www.domain.com:8443 we become redirected to https://www:8443. The only way to connect to plesk is to use https the redirect from http doesnt work.
i'm running the latest version of Plesk 11 on a Ubuntu 12.04 system.
We have a customer with a domain and this customer added other domains to his account.
now, 2 domains are not working, he created the as usual, Plesk created the directories under /vhosts/domain.com/domain1.com and the vhosts.conf are also correct.
when i'm opening the domain in the browser, i get the following error message:
The requested URL /var/www/vhosts/domain.com/index.php was not found on this server.
I have a problem with webmail (horde). Horde Webmail show the wrong time, 2 hours to late. It look like that horde show the UTC time, but not the CEST "Europe/Berlin" of my server. I can change that over "preferences" -> "global preferences" -> "locale and time" and change "Your current time zone" from "Default" to "Europe/Berlin". This will now show the correct time (timezone), but this is not the solution because this will do all webmail users.
How can i change the default timezone in Horde?
Output from shell
#my timezone and this will show in all things but not in webmail horde [root@www /]# date Fr 11. Jul 17:32:14 CEST 2014
#this time look like the default time in horde [root@www /]# date -u Fr 11. Jul 15:33:31 UTC 2014
Seems this started when upgrading to a version of 12. It was working a few days ago and only seems to affect mailing lists. I found a google Cached thread here where Igor was assisting some folks as late as Aug 4 and referenced this was "reported to development (PPP-10678 for your reference)" it seems the forums on Parallels changed or something because several Google links are not working and resulting in having to used cached results for the two links below.
I am able to disable SPF and the e-mails go through just fine however this was working with SPF enabled before a recent upgrade.
Page 1 [URL] ....
Page 2 [URL] ....
This is the error message displayed in /var/log/maillog Sep 24 01:38:35 controlpanel postfix/smtpd[3725]: connect from localhost[127.0.0.1] Sep 24 01:38:35 controlpanel postfix/smtpd[3725]: D565017C013E: client=localhost[127.0.0.1] Sep 24 01:38:35 controlpanel greylisting filter[3899]: Starting greylisting filter...
OS CentOS 6.5 (Final) Plesk version 12.0.18 Update #6, last updated at July 2, 2014 11:13 AM
The system is up-to-date; last checked at June 27, 2014 04:43 AM
All current websites on the server seem to work fine any new subscriptions we cannot get working at all.
We can connect via FTP to new sites SOMETIMES - just cant get directory listing. When we can connect and get into a directory it slows down.
In Active mode: Command:MLSD Response:425 Unable to build data connection: Connection refused Error:Failed to retrieve directory listing​ Install Wordpress via the Parallels panel it loads and says it is all there, just can't log or display any pages. The default Parallels page is displayed.
Upload a html page via the File Manager in Parallels and it displays the default Parallels page.
Unpack the Wordpress tar file via File Manager and it displays the default Parallels page.
The Wordpress feature in Parallels says it is working fine, can't display any page, can't log in as it returns a 404 page or the default Parallels page.
Create a site in Presence builder and Parallels says there is a site. The default Parallels page is displayed when opening the site.
Go to DOMAINS and there is 0mb in space used and there are files listed in the File Manager - none of which can be displayed.
After successful creation of a full backup, pmm-ras hangs forever (100% CPU) while trying to export the dump to FTP. I have two identical Plesk 12.0.18 installations and this happens only on one of them.
I see the following in /opt/psa/PMM/sessions/*/.stderr:
Use of uninitialized value in numeric eq (==) at /opt/psa/admin/bin/plesk_agent_manager line 827.
I have been seeing these in my log and received complaints from customers not able to get their mail out. These messages just stay in the queue and go no where.
what they are successfully using as a tlsserverciphers and tlsclientciphers? Maybe it the dh key being too small. How can this be fixed on Qmail?
Plesk Panel > Updates and Upgrades > Install "Plesk VPN extension" Green Message "All operations with products and components have been successfully completed." Going back from Upgrade window to Plesk Panel Home
[Code] .....
What I already have tried: Shell > apt-get install psa-vpn
Getting error mossage:
Setting up psa-vpn (12.0.18-debian7.0.build1200140606.15) ... ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)
Shell > modprobe tun ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)
I tried to install php55 on opensuse 13.1 with plesk 12 running from an opensuse untested package
goal: Install php55 for all domains/subscriptions, esspecially including zendoptimizer. Sicne its all WP, there is no need to configure php-version it for each domain. I actually dont even need several php-versions.
result: - php-version shown: 5.5 - mysql extension missing in package - wordpress in my subscriptions couldnt connect to mysql-db
assumption: - "bad" sw-package - bad configuration - my lack of knowledge esspecially about php/mysql
question(s): - Is there a standard/recommended install for php5.5 on opensuse 13.1 and plesk12? I failed to google a fitting one - I probably had the wrong package for php55 - compile myself or is there a recommended package? - Should I go for php 7 (6) or go for php 55? (Why?)
I am trying to install Plesk 12.0 on fresh CentOS 6 (64bit). It goes as far as initialising the databases and then moans about missing files:/usr/bin/sw-engine: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
I then install libpng $ yum install libpng.x86_64
Re-run installer and hits next error - libfreetype: /usr/bin/sw-engine: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directoryI have CentOS-base repo and Epel repo enabled.
Why are those files not being installed as dependencies by Plesk? Is this a bug ?
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....
Plesk recently attempted to do an auto-update and it failed. I have not been able to get it to update since. When I connect using SSH, and try to do a manual yum update I get the following error:
Code: Loaded plugins: fastestmirror Setting up Update Process Loading mirror speeds from cached hostfile epel/metalink | 13 kB 00:00 Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module>
I'm migrating 11 domains from my old server to my new server, and it's been running now for 3 hours and the progress section shows 100% but it looks like it's still running.
And each time I check the "Domains" section I see a couple of my domains listed but not all of them yet, and the ones I do see the "Disk Usage" on one of my domains that I know is large shows the same figure each time I go to this page; it doesn't seem like it has increased at all.
How can I tell if the migration is still processing or if it has froze and I should restart the migration again?