Plesk 12.x / Linux :: Domain Scheduled Tasks (Client Area)
Jul 22, 2014
We have a VPS with Centos 5 and Plesk 12.0.18.
The CRON service is running and works correctly, the Scheduled tasks on the administration Plesk Panel (tools & Setting / Scheduled tasks / root user) works ok, but when a customer sets a new scheduled task from her domain panel, don't works.
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
How can I make it so only the system (scheduled task or the server itself) can access to the file to execute it. I tried placing CHMOD 700 to the PHP file but everyone is still able to access to it and executive it.
I'm new to Parallels Panel. I use version 11.0.9. I want to backup mysql database daily. First of all, what is the best way for daily database backup in plesk. I'm trying to do this in Scheduled Tasks and I use mysqldump command although I'm not sure.
I chose the time and day first and then I switched on the task. I typed the following command to Command line.
This created only a blank file. When I use this without gzip, nothing changes.
1- Is mysqldump right command for database backup? 2- Should I define full path for mysqldump, gzip and database? If so, how can I find out the full path of mysqldump, gzip and my database? Because I can't see their locations in panel. 3- I can't see any error message. There is not any log file in httpdocs folder. Where does the log file exist? 4- It is weird but should the username be "database user" or should I write "root" ?
I've just migrated server to server but I didn't use the migration manager, I simply backed up each domain's content and restored those backups on the new server.
The issue I have run into is the scheduled tasks at the admin level (Tools & Settings > Scheduled Tasks) work but any schedule task under a domain do not. The scheduled tasks under the domains show as inactive (no green tick) and when I click to enable them, I get the following message
"Information: The scheduled task Google Product Feed Daily Scheduled Task was switched on."
If I then look at the page, even though the above message says it is, the scheduled task is still not enabled. Going into the scheduled task and switching it on there results in the same message, but it doesn't switch on.
How to rebuild all of the scheduled tasks within Plesk?
I generate the ssl for my customer going into this direction:
Tools & Settings > SSL Certificates > add new
I put the key there its ok until here.
Then I follow this: After adding an SSL certificate to a domain, you need to enable SSL support and select that certificate in the website hosting settings: Websites & Domains > Hosting Settings of this domain > Security.
But the dropdownlist there are not SSL with the name that i create on panel.
I have setup Backup Manager to backup Files and Configurations every week for every subscription. This worked really good however we are now considering changing this to daily basis.
As the free space on server will decrease. I was wondering i there is any way with cronjobs how to remove the backup older than 24 weeks. How to make such an cronjob script?
If possible i also would like to know where the Backup Manager physically stores its backups?
I want to create a "Client" only area that a user will have to supply a User-id and Password to gain access to and to ALL of the web pages within it. If a user does not have a User-id and Password, I want them to be able to Register for one, and if they are a "Client", then I will Activate their access.
My question is: Can someone recommend either a Free or low cost script that will allow me to do this. I would want the script to have an "Admin" function to Activate a user request, Cancel a Users access. I would also want a "User" function that would allow the user to change some of the registration data (Password, Email). I would prefer that the script is PHP.
Im trying to install an ssl purchased from godaddy for my client area using whm on my dedicated box
[url]
but keep getting an error:
"Sorry, you must have a dedicated ip to use this feature for the user: mydomain! If you are intending to install a shared certificate you must use the username "nobody" for security and bandwidth reporting reasons"
well its a dedicated box and i do have a dedicated ip of course
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.
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?
on one of our Plesk-Servers (Plesk 12.0.18 Update 34 on Debian 7.6) the scheduled backup stopped working. Scheduled Backup is active in Backup-Manager, but it's not executed.
I'm having troubles getting the global scheduled backup task to work at Home > Tools & Settings >Backup Manager > Server Repository.
At a subscription the scheduled backup works how it should.
Home > Subscriptions > example.com > Websites & Domains > Server Repository
The problem is as follows: When I set the scheduled task at a specific time example 00:00 it does not run at all. But when I just do "Create a backup" it does work...
I've done [URL] .... and everything in here is configured how it should be.
This is my configuration for scheduled task:
Cronjob is placed in : /etc/cron.d/plesk-backup-manager-task
Also did run: rpm -q --scripts psa-backup-manager | sed 1d | sh
This problem is only in the global backup configuration.
I have an issue with my daily backup. I configured to have a daily backup on an external FTP server. Everything looks to work correctly but in the panel I see that the task is a 100% forever. Never finishing completely.. So the next day, the task is not starting.. I have to remove manually the task in backup manager screen.
here is the last lines of the log file (in /var/log/plesk/PMM/backup-2015-01-20-20-46-02-824)
My Centos server running Plesk12 is running scheduled backups every sunday 3AM.
The backup is configured so that it's created as a multivolume backup with a volume size of 2047MB.
The backup is placed on my Personal FTP repo (another plesk12 server mounted with big storage).
The backup content is configured to backup server config and content (all).
The problem I have is when the backup is running I can see that it creates the volumes and stores it locally. After it send all the volumes the the external FTP repo it will delete the local (tmp) data. See my attached screenshot for storage health during backup.
Is this behaviour normal? This way we can never run a backup to an external FTP repo when our server passed 50% storage. Is it not normal to:
- Create a volume - Send it to FTP repo - Delete volume locally - Repeat until done
I'm problem with crone sender email. I changed the version of the panel from 11.5 to 12. After start the corne and sehedule task in one of users I recived email. The crone task starts from email.
For this example, I replaced the user name in Plesk Panel, which is assigned cron jobs on “support”.
This is the mail system at host servername.domainname.
I'm sorry to have to inform you that message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The mail system
<-f@domainname> (expanded from <-f>): bad address syntax <support@domainname>: Host or domain name not found. Name service error for name=support.domainnametype=AAAA: Host not found
A client is trying to add a domain that was accidentally deleted when he deleted an account, but now when adding the domain again it is not adding it. The task in CP fails. If I manually try delete the domain I get this error:
[root@ns1 bin]# ./domain --remove domain.com An error occurred during domain removal: Unable to remove domains: Package with UID '8972ffa7-50fb-4dbc-8639-bf08caee425d' not found.
In mysql I see the domain is still in the db so something did not go right when the client deleted the hosting package, and now it is in limbo as the domain cannot be re-added.
The FTP on my VPs running centos 6.6 and plesk 12.0.18 Update #44 has stopped allowing FTP conections via filezilla or dreamweaver. My tech knowledge with server management outside of the gui is minimal but i have done the following. Checked that the firwall is allowing ftp traffic through the GUI in plesk.
restarted xinetd and checked status [root@367549 ~]# service xinetd status xinetd (pid 11707) is running... [root@367549 ~]# lsof -i tcp:21 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME xinetd 11707 root 5u IPv6 682472 0t0 TCP *:ftp (LISTEN)
Then tried the following [root@367549 ~]# ftp localhost -bash: ftp: command not found
But i can connect via telnet on port 21
when trying to use +dreamweaver or filezilla i get the following. This may be due to one or more of the following reasons: - The network cable is unplugged or the network is down. Please verify that the network cable is connected and that the network is up. - The FTP server is down. Please verify that you can connect to the FTP server using another FTP program. - The FTP host name is incorrect. Please verify that the host name is correct in the Site definition dialog box. - Accessing the server requires proxy settings that aren't properly set. Please verify that the proxy settings in the Site category of the Preferences dialog box are properly set, and that the Use Proxy option in the Site definition dialog box is selected. - You may need to connect to the server using a different port than the one provided. Please specify the correct port in the box provided.
Error: The data connection could not be established: ETIMEDOUT - Connection attempt timed out Error: Connection timed out after 20 seconds of inactivity Error: Failed to retrieve directory listin.
What to do and why after no change this just stopped working when ive been using ftp on this server previous.. the company that i brought the vps from have no intrest and tell me its unmanaged.
i would like to move few clients from my old linux VPS that runs on Cpanel .. to my new windows VPS tat runs Plesk .. you see there were several attempts by new provider .. they cant guarantee that accounts can be fully migrated even manually they only copied site files to new server .. the client account's still running on linux vps cpanel, they are intact .. clients dont have any php or mysql files they are just plain HTML and Flash files .. i can move site files .. im concerned about mail accounts and emails that already in my clients inbox (they are using IMAP accounts) .. do you guys know any guideline or step by step how to migrate my clients
P.S. please consider me as an uneducated person .. my background is designing not programming or network administration.
I'm having a hard time configuring this setting for nginx on a domain, whatever i try i cant get it to accept files as big as I need. Every time i try i get this red message :
Code: Configuration Nginx non valide : nginx: [emerg] "client_max_body_size" directive is duplicate in /var/www/vhosts/system/domain.fr/conf/vhost_nginx.conf:4 nginx: configuration file /etc/nginx/nginx.conf test failed
I followed these instructions: [URL] ....
Strange thing is there was no panel.ini file where the instructions are pointing so i created one, but still, i cant get that directive to work.
Before plesk 12 (with 11.5) i finally got it to work by manually editing some nginx conf file on the server, but i can't find anymore how...