Plesk 12.x / Linux :: Configuration Of FTPS With TLS And FTP Backup Repository
Mar 8, 2015
Plesk Panel 12 uses a proftpd FTP server, with the TLS module pre-installed and configured.
Many questions and/or problems arise when trying to connect to the FTP server over a FTPS connection. In (almost) all cases, the disability to connect with FTPS is due to
a) the lack of configuration of passive ports, AND
b) firewall settings, enabling connections through before mentioned passive ports.
The passive port range can be configured by
adding a line to /etc/proftpd.conf, stating: "PassivePorts <start> <end>", OR
adding a separate file with name <filename>.conf to /etc/proftpd.d/, with the contents of <filename>.conf stating: "PassivePorts <start> <end>"
And note that
- <start> is the first port of the port range, in theory any value above 1050 can suffice,
- <end> is the last port of the port range, any value below 65000 (!) can suffice,
- the extension .conf is required when using a separate config file,
- the directory location /etc/proftpd.d/ is required when using a separate config file,
- one should always limit the port range, i.e. it is not desirable to open up a lot of ports,
- it is desirable to have the <start> value above 20000, in order to prevent conflicts with other programs, using a specific port (for instance, port 8443 is also being used),
- it is not necessary to restart proftpd after configuring the passive ports.
The firewall settings have to be changed to allow connections through the passive ports that have been opened for FTPS connections and note that
- only open up the port range (not more) in the firewall settings,
- it is only necessary to open up ports in the firewall settings of the FTP server,
- it is not required to open up ports in the firewall settings of the sending server.
Many issues have been arising when setting up the FTP Backup Repository.
In general, the passive mode checkbox has to be selected, when encountering issues.
The explicit use of the passive mode allows for proper configuration of the FTP Backup Repository and note that it does not matter whether FTPS or normal FTP will be used.
View 1 Replies
ADVERTISEMENT
Sep 18, 2014
The Problem:
I'm trying to set up an automatic backup to an ftp server using ftps (as configured in the personal ftp repository).
Copying the files fails however.
The things I checked:
The Plesk management website can't show the target folder's contents.
The only error I get is Error-Code "1".
The ftp server (a synology NAS) logs the ftp access: Credentials are correct, session is terminated after transferring 0 Bytes.
Each failed backup leaves a 0-Byte .tar file on the Backup folder.
If I disable ftps and go with plain ftp, everything works just fine.
Our previous generation Plesks (v11 and lower) can utilize ftps for backup (to the same ftp server) without a hitch.
Additional considerations:
Since the WebServer is on a hosted machine and file transfer has to be done across the internet, unsecured transport is not an option.
I have virtually zero Linux experience
[System Information]
Plesk Version: 12.0.8 Update #18
Operating System: Ubuntu 12.04.5 LTS
View 2 Replies
View Related
Sep 6, 2014
I experienced an issue using an external backup repository on Plesk 12.0.18 machines using ftps. The ftp server uses ftps (explicit) connections.Plesk 11.5 works fine (and ordinary ftp client like Filezilla as well), Plesk 12 throws the following error when trying to add the server via the web interface:
Code:
Curl error: Login denied
Unencrypted connections will work. Plesk 11.5 machines (with the same settings) will work.
I've analyzed the problem and got so far: The backup manager tries to connect using "regular" transfer method + ssl, not ftp-ssl explicit.Is there a chance to force Plesk using explicit ftpes connections? Or is there another work around?Some additional infos about the (ftp) server: The ftp server is running ProFTP 1.3.4d, uses port 2000 for the control port and has a port range (2001 - 2100) for the passive connections.I tried to add the server using the address field of the gui IP:2000 and checkboxed "passive mode" and "ftps".
View 4 Replies
View Related
Feb 8, 2015
I am having issues with the plesk backup manager. I set up my personal FTP personal repository in tools & settings, then backup manager. My ftp is secure with a specific port. here are my options:
FTP server hostname or IP: myipaddress":"port without quotes. Directory for backup files storage: complete also used /complete. Both correct username and password
Use passive mode checked
Use FTPS checked
Use password protection checked
Here is my scenario:
Personal FTP repository backups are set up with:
Create a multivolume backup
Volume size: 2047
Store backup in: Personal FTP Repository
max number of backups: 1
For some reason when I manually backed up the server with server repository, my storage went from 14gb to 6gb.. I have zero backups in both server repository and personal FTP repository because I deleted them. Now its stuck at 6gb, which seems that the backup is stored somewhere in the system and is not deleted.Where can I find this backup? I am using CentOS.
View 5 Replies
View Related
Oct 24, 2014
Beginning with today, all Backups to FTP repository failed. Even updates being started manually fail.
FTP Space is not full, there are still app. 400GB free space left.
I was also able to do a ftp upload on terminal using ftp client.
Server is accessible, credentials are right, but backup fails.
Why backup stops working after having done login.
This are the last few lines of the current psadump.log (removed server url and username):
[2014-10-24 13:38:46.754|17907] INFO: Repository 'ftps://[XXX]//as/': Initializing...
[2014-10-24 13:38:46.754|17907] INFO: Transport: Get repository transport ftps://[XXX]//as/
[2014-10-24 13:38:46.754|17907] INFO: Transport: Init credentials for user '[XXX]'
[2014-10-24 13:38:46.756|17907] INFO: Repository 'ftps://[XXX]//as/': Initialized
[2014-10-24 13:38:46.758|17907] INFO: pmm-ras finished. Exit code: 1
==============================
View 10 Replies
View Related
Jun 27, 2014
After starting back up in plesk 11.5 I get this error after some time...
Code:
Runtime error: Export dump to FTP failed at /usr/local/psa/admin/bin/plesk_agent_manager line 727.
at /usr/local/psa/admin/bin/plesk_agent_manager line 727
main::perform('verbose', 4, 'owner-type', 'server', 'split-size', undef, 'session-path', '/usr/local/psa/PMM/sessions/2014-06-27-025357.825', 'description', ...) called at /usr/local/psa/admin/bin/plesk_agent_manager line 1319
[Code] ....
The backup was stored in Server Repository and was also uploaded to ftp....
Backup file size in server repository : 169 MB
In personal repository showed in plesk :169 MB
File size shown in FTP in backup server : 169.08MB
Then why does the error occur ?
View 10 Replies
View Related
Jul 1, 2014
Can ftp to the FTP server from the command line without any problem.
get / put / ls etc all work.
Configure Plesk Backup Personal FTP repository with same server / username / password.
Get the following messages in Plesk:
Warning: Unable to display the list of backups. Please check the personal FTP repository settings.
When I attempt an FTP backup I get:
The backup was not created. Download the log file View the log Close this message
Can't upload file 'backup_info_1406281533.xml' to ftp. Error code: 1
View 2 Replies
View Related
Jun 29, 2014
I'm recieving the following error
"Transport error: unable to list directory: Curl error: Couldn't connect to server".
This happens when I enter ftp settings for the Personal FTP Repository. I'm sure the ftp server is fine. I have it already set on other domains. It connects backs-up just fine.
I've noticed two things when connecting to the FTP server it automatically issues PASV and does nothing else. It also connects using the secondary ip which I guessing it should. Micro Update 5 is installed.
View 10 Replies
View Related
Dec 29, 2014
I have 2 identical servers: I'm trying to do backups from server1 to server2 and from server2 to server1.
In every server I setup a subscription just for storing backups.
If I configure Personal FTP Repository from server1 to server1 - the same server - it works (it gives a warning: backup on the same server is not safe).
If I try to configure Personal FTP Repository from server1 to server2 and vice versa, it gives me the following error:
Transport error: unable to list directory: Curl error: FTP: couldn't retrieve (RETR failed) the specified file
If I try to give a different password, it tells that the password is wrong: this means that server1 is able to connect to server2 and the ports are well configured (I hope).
If I connect in active mode from my PC with Filezilla to server1 or server2, same username and password, it works!
I'm not able to configure Personal FTP Repository and to backup to another server.
S.O.: CentOS 6.5 (Final)
Plesk: 12.0.18 Update #30
View 3 Replies
View Related
Oct 22, 2014
I host a number of large sites (20GB+) on my VPS server running Centos6 and Plesk Panel 12. Due to the large sites I don't want to keep multiple backups on the actual server because it would take too much disk space. When I create a backup to the server's repository all is good, but when I click the green arrow to download the backup it takes a long time and then it fails with a timeout error. On some smaller sites it takes a while but eventually downloads the tar.
So my question: Is it possible to access the Server Repository via FTP? How and where would I set this up? Presumably it would be a better way to download these large archive files?
View 8 Replies
View Related
Sep 24, 2014
My IP address has changed on my personal FTP backup Repository. I can't find the settings option to update it to the new IP address anywhere.
View 3 Replies
View Related
May 30, 2015
keep a local and remote backup of certain subscriptions or at least have a full server backup on FTP.
I have a livedrive.com reseller account which allows be to quite cheaply add 512GB of remote storage accessible through SFTP, FTP and WebDAV. I created this partition and added it as a server-level FTP repository in Plesk 12 (latest build). During testing I added a firewall exception for traffic on the FTP IP-address and figured that I had to put the FTP repository in passive mode to properly connect.
After setting this up I ran a configuration only backup to test if everything was working properly. The backup was created properly and can be accessed through the FTP as well: success!
My second test was running a full server backup through the manager. The ±40GB file was created properly (I could see my disk usage increase and decrease through new relic monitoring) and supposedly transferred to the FTP repository according to Plesk.
When I look at the FTP or the Plesk Backup Manager both indicate that the full server backup is 0kb in size.
After this issue I figured: I really don't care about a full server backup, I mostly care about a specific set of subscriptions that have new content on a daily basis and need to be backed up properly as well. Those subscriptions are already on a daily or weekly backup scheme that places backups on the local repository.
What I would eventually like to do is create daily or weekly backups on the local repository and create weekly or monthly backups on the FTP repository for those specific subscriptions, but unfortunately you cannot (by default) setup Plesk to automatically backup to local and remote based on different or even the same intervals.
And this is the more important question: How to be able to create/setup a backup automation that keeps local and remote backups for the same or different intervals? Either through the Plesk interface, a plugin or a script?
Running Plesk 12 on CentOS 6.6
Update:
Just tried running the same server wide backup, but this time as a multivolume backup. This resulted in the following error:
ERROR: () Can't upload file 'backup_info_1505301327.xml' to ftp. Error code: 1
View 5 Replies
View Related
Mar 30, 2015
When i try to restore a domain from Server Repository I am getting this strange error
Internal server error:
ERROR: Call to a member function write() on a non-object (Apache.php:821)
How could I fix it?
View 1 Replies
View Related
Feb 21, 2015
I update the backup of whole server (the file is .xml.tar)
Now how can I restore all my domains, server.configuration and so on?
View 13 Replies
View Related
Aug 20, 2014
We just upgraded from Plesk 10.4.4 to 11.5.30 and can't seem to get FTPS to work.
I presume it should be running on port 990, but the server is not listening on that port (only 21 for FTP).
Code:
netstat -lptu | egrep 'ftp|990'
tcp 0 0 *:ftp *:* LISTEN 20354/xinetd
We've enabled FTPS on the Server > Security Policy page.
View 7 Replies
View Related
Mar 22, 2015
I just migrated from a CentOS 5 server with Plesk 11.5 to a new server with CentOS 6.6 Plesk 12.
All customers, resellers, domains, subscriptions and even FTP users have been migrated fine (great tool btw).
There's only one thing what I cannot get to work on the new server: FTPs (TLS/SSL), this always results in "AUTH not understood".
The security and FTP settings are exactly the same as the old server (where FTPs worked fine), so I guess something is missing on the server.
What can I do to have a proper working FTPs with TLS/SSL?
View 2 Replies
View Related
May 5, 2015
For some reason FTPS is no longer working as it used to before plesk upgraded. At this point, I am not sure which Plesk upgrade caused this since I do not FTPS or ftp in general often. its enabled as it was before, even disabled and re-enabled it again. Still gives a "could not establish connection". Restarted the service via command Line with "service xinetd restart". still isnt working...
View 19 Replies
View Related
Dec 15, 2008
when I run this command show me some errors what should I do?
# yum update
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* plesk: www.atomicorp.com
* extras: mirrors.portafixe.com
* updates: mirrors.portafixe.com
* base: mirrors.portafixe.com
* addons: mirrors.portafixe.com[url]
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: plesk. Please verify its path and try again
I have Linux with Plesk.
View 3 Replies
View Related
Nov 11, 2014
First of all I checked via command line if any software is not installed properly while plesk installation was done on destination server (windows server 2012 R2). All looks fine, please check attached file pleskinstallation.txt
Source plesk version 10.4.4 (windows server 2008)
Destination plesk version 12.0.18 MU#23 built.
We are in testing mode of migrating websites hosted with source plesk version 10.4.4 onto destination server plesk server 12.0.18 having (windows server 2012 R2).
What we did, we restored the backup of Source plesk version 10.4.4 (windows server 2008) to Destination plesk version 12.0.18 MU#23 built.
Now the problem is that backup which we restored on Destination plesk version 12.0.18 MU#23 was of 68 GB and now when we setup the backup on Destination plesk version 12.0.18 MU#23 and when backup completes successfully it show us wrong backup size up to 16 GB.
We have requested several times to plesk support has to check the entire new plesk version in terms of all feature (like taking backup, restoring, plesk installation etc) while releasing new version, If they have noticed bug than plesk support should not release new version or micro update until they are sure.
I would request them again to check backup size bug along with other bugs.
1. "Stats crashing and not updating stats"
2. installing "Spam assassin" on Plesk 12.0.18 on windows server 2012 r2 and we are getting error:
Error: Unable to set Plesk SpamAssassin 3.3.2 as the default Spam Filter: defpackagemng failed: Execute spammng.exe --check failed with error code 1: Unable generate the unique file name by template D:Program Files (x86)ParallelsPleskAdditionalPerlsiteetcmailspamassassinlocal.cf[*].bak: directory D:Program Files (x86)ParallelsPleskAdditionalPerlsiteetcmailspamassassin does not exist.
View 1 Replies
View Related
Mar 27, 2009
What software i can use to backup ftp files auto from different accounts into my pc?
View 0 Replies
View Related
Jan 6, 2015
I am using apt-cron for automatic nightly security updates.
This morning, it won't install anything - here the log:
Code:
Jan 6 04:21:00 srv2 cron-apt: CRON-APT RUN [/etc/cron-apt/config]: Tue Jan 6 04:00:01 CET 2015
Jan 6 04:21:00 srv2 cron-apt: CRON-APT SLEEP: 1052, Tue Jan 6 04:17:33 CET 2015
Jan 6 04:21:00 srv2 cron-apt: CRON-APT ACTION: 3-download
Jan 6 04:21:00 srv2 cron-apt: CRON-APT LINE: /usr/bin/apt-get -o quiet=1 upgrade -d -y -o APT::Get::Show-Upgraded=true
[Code].....
View 1 Replies
View Related
Oct 17, 2014
My backup ftp server was down, how do I move all backups from server repository to personal ftp repository?
View 5 Replies
View Related
Mar 27, 2015
I want to restore a database from my repository. In the backup manager (root) I have Server repository & Personal FTP Repository. The personal repository I set to backup every day. The server repository I don't know where to set the backup option. There seems to be some random backups every 2 weeks or so.
In the personal ftp repository I have the backups of the last 7 days as tar files. When I want to radio button "Selected objects" it can not me highlighted. I am on plesk 12.0.18. (I ticked "Restore this backup despite the fact that it does not have a valid signature")In the server depository the files are .xml and there I can select what to restore but the backups are not current. I need the database from yesterday.How can I make my personal backups selectable?
View 3 Replies
View Related
Feb 21, 2015
I want to backup my server, but i get always error, when i want to save my Personal FTP Repository. I get following error:
Transport error: unable to list directory: Curl error: FTP: weird server reply
What is the reason?
View 6 Replies
View Related
Oct 28, 2014
I'm facing the task of migrating nearly 200 domains from 11.5 to a new server running 12. My question is whether any way to pre-populate the
FTP repository : hostname / username / password
Schedule : to daily / specify time / untick suspend domain
This would massively speed up the move, and remove the monotony of retyping these over and over!
View 2 Replies
View Related
Oct 21, 2014
I'm using Plesk 12.0.18 on a virtual container powered by Parallels Virtuozzo Containers, and I cannot get the FTP (personal repository) working.In my settings, I've unchecked Passive mode (as the VPS is configured with the Virtuozzo firewall) yet Plesk still seems to test the connection with passive mode, which I know will fail. However active FTP on the command-line works fine.
My settings:
Host: ftp.hidrive.strato.com
Directory: /users/xxx/plesk_backups
FTP username: xxx
Password: xxx
Passive mode: UNCHECKED
FTPS: UNCHECKED
Saving the repository fails with (after a hang): Transport error: unable to list directory: Curl error: Couldn't connect to server
If the "directory" doesn't exist on the FTP server it fails immediately, so the connection is working, and it seems to be on the "dir/ls" command that it fails - which is a symptom it's using Passive mode.
According to the Panel log file, Plesk issues the below command:
[21-Oct-2014 02:53:55 America/Chicago] PleskUtilException: '/usr/local/psa/admin/bin/pmm-ras' '--check-repository' '--dump-storage=ftp://xxx@ftp.hidrive.strato.com/users/xxx/plesk_backups' '--use-ftp-passive-mode' failed with code 125.
Note the "--use-ftp-passive-mode" even though "passive mode" is UNCHECKED in the UI.
From a terminal:
# ftp ftp.hidrive.strato.com
Connected to ftp.hidrive.strato.com (85.214.3.73).
220 Another visitor. Stay a while...
Name (ftp.hidrive.strato.com:root): xxx
331 FTP login okay, send password.
Password:
230 User logged in, proceed.
[code].....
View 1 Replies
View Related
Apr 9, 2015
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.
View 8 Replies
View Related
Jun 17, 2008
How can I set the configuration for get backup every night like cPanel (daily, weekly, monthly) in PLESK?
View 13 Replies
View Related
Sep 21, 2014
Since we had Update to 12.x we have problem to connect to any ftp Server
We have this Problem on two diffrend Plesnikserver.
Both are running under Ubuntu 12.04 ....
View 1 Replies
View Related
Nov 18, 2014
For some time now the Autoinstaller fails and the Plesk control panel becomes inoperable until I run the stop and then start command for the plesk control panel. Looking at the error log: autoinstaller3.log I see the following output:
WARNING: Third-party Yum repository 'atomic' is enabled, installation may fail.
Since you use one or more 3rd-party repos (say, atomic), be careful when installing different package versions from different repos as this may lead to installation failures. For example, you may encounter a problem if you first install PHP from a 3rd-party repo and then upgrade it using the Parallels repo. To avoid such situations, install and upgdare packages from the same repo.
Traceback (most recent call last):
File "/usr/local/psa/bin/yum_install", line 194, in <module>
main()
File "/usr/local/psa/bin/yum_install", line 189, in main
[code]....
The Yum utility failed to install the required packages.Attention! Your software might be inoperable.contact product technical support.Click to expand...
View 2 Replies
View Related