BackUp auf WS_FTP_Server  [SOLVED]

Have you discovered a bug? Tell us about it.
Post Reply
Schusterjunge
Posts: 3
Joined: Fri 21. Jul 2023, 12:14

BackUp auf WS_FTP_Server

Post by Schusterjunge »

I'm sure the cause of the problem is within KeyHelp.
yes


Server operating system + version
Debian 11.7 (64-bit)


Server virtualization technology used
netcup vServer root


KeyHelp version + build number
23.1.1 (Build 3016)


Problem description / error messages
Changeover to new backup management
The previous setup uses a WS_FTP_Server from Progress (formerly ipswitch) as remote storage (8.8.2 on Windows Server 2016, genatted) - This works except for the automatic deletion of older backups. - I then solved this using a script on the server at Command 220.


Expected result
Backup can also be used with the same remote storage with the new version.


Actual result
Now, since the old version is announced, I want to change the backup to the new version. But here I cannot add a repository. Neither with nor without TLS. The contact to the remote server is established and I also see a test file on the server. in KeyHelp the error message appears: Error ... SetModTime is not supported and Error ... unsupported LIST Line
I then tried to set the connection using user-defined input.

type = ftp
host = servername
user = kh2backup
port = 990
pass = ****18Chars****
tls = true
no_check_certificate = true
disable_epsv = true
disable_mlsd = true
disable_utf8 = true
tls_cache_size = 96
disable_tls13 = true
encoding = Slash,BackSlash,Del,Ctl,RightSpace,Dot,SquareBracket

Looks better, but a different error message appears:
Failed to create file system for "rclone-storage:/": NewFS decrypt password: input too short when revealing password - is it obscured?


Steps to reproduce


Additional information
User avatar
Alexander
Keyweb AG
Posts: 3842
Joined: Wed 20. Jan 2016, 02:23

Re: BackUp auf WS_FTP_Server  [SOLVED]

Post by Alexander »

Hi,

I just googled your error messages:
SetModTime is not supported
This seems only to be an info, no real error: https://forum.rclone.org/t/ftp-error-se ... ed/28927/9
unsupported LIST Line
This seems to be fixed with rclone already: https://github.com/rclone/rclone/issues/6879

Both have been fixed with rclone 1.63: https://rclone.org/changelog/

Code: Select all

FTP
- Lower log message priority when SetModTime is not supported to debug (Tobias Gion)
- Fix "unsupported LIST line" errors on startup (Nick Craig-Wood)
- Fix "501 Not a valid pathname." errors when creating directories (Nick Craig-Wood)

So just call the following command to update rclone and you should be good to go.

Code: Select all

rclone selfupdate

(As always: Upcoming KeyHelp releases always install the latest rclone version available at time of the KeyHelp release.)
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Schusterjunge
Posts: 3
Joined: Fri 21. Jul 2023, 12:14

Re: BackUp auf WS_FTP_Server

Post by Schusterjunge »

Hello and thank you Alexander

I have updated rclone from v1.62.2 to v1.63.1. - But it still does not work.

When I use FTP(S) for the remote store, I get the following error:
ERROR : Attempt 1/1 failed with 1 errors and: failed to touch (create): update getinfo: unsupported LIST line
Failed to touch: failed to touch (create): update getinfo: unsupported LIST line

When I use the custom connection:
Failed to create file system for "rclone-storage:/": NewFs: failed to make FTP connection to "host:21": 530 Invalid userid/password
I've tried to use the PW as clear text and encoded as base64
Schusterjunge
Posts: 3
Joined: Fri 21. Jul 2023, 12:14

Re: BackUp auf WS_FTP_Server

Post by Schusterjunge »

I was able to solve the password problem.
I created the FTP connection with "rclone config", copied the config with the encoded password and recreated the connection in the GUI.
User avatar
Alexander
Keyweb AG
Posts: 3842
Joined: Wed 20. Jan 2016, 02:23

Re: BackUp auf WS_FTP_Server

Post by Alexander »

To transform a cleartext password to a one which can be used with the rclone config, use this command:

Code: Select all

rclone obscure <password>
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply