I updated my NAS from OMV 7 to 8 using the omv-release-upgrade tool.
I just use my NAS to run Samba, FTPS, and NFS—just simple tasks.
So far, everything I tested has worked, except for the FTPS connection.
After the upgrade, I faced this error:
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color proftpd 2>&1' with exit code '1': debian:
----------
ID: configure_proftpd_mod_core
Function: file.managed
Name: /etc/proftpd/proftpd.conf
Result: True
Comment: File /etc/proftpd/proftpd.conf updated
Started: 11:42:37.580032
Duration: 39.399 ms
Changes:
----------
diff:
---
+++
@@ -42,60 +42,3 @@
</Limit>
</Directory>
-<IfModule mod_auth.c>
- DefaultRoot /srv/ftp
- MaxClients 5
- MaxLoginAttempts 1
- RequireValidShell on
- # This option is useless because this is handled via the PAM
- # pam_listfile.so module, so set it to 'off' by default.
- UseFtpUsers off
-</IfModule>
-<IfModule mod_auth_pam.c>
- AuthPAM on
- AuthPAMConfig proftpd
-</IfModule>
-<IfModule mod_ban.c>
- BanEngine off
- BanControlsACLs all allow user root
- BanLog /var/log/proftpd/ban.log
- BanMessage Host %a has been banned
- BanTable /run/proftpd/ban.tab
-</IfModule>
-<IfModule mod_ctrls.c>
- ControlsEngine on
- ControlsMaxClients 2
- ControlsLog /var/log/proftpd/controls.log
- ControlsInterval 5
- ControlsSocket /run/proftpd/proftpd.sock
-</IfModule>
-<IfModule mod_ctrls_admin.c>
- AdminControlsEngine off
-</IfModule>
-<IfModule mod_delay.c>
- DelayEngine on
-</IfModule>
-<IfModule mod_facl.c>
- FACLEngine on
-</IfModule>
-LoadModule mod_ident.c
-<IfModule mod_ident.c>
- IdentLookups off
-</IfModule>
-<IfModule mod_quotatab.c>
- QuotaEngine off
-</IfModule>
-<IfModule mod_ratio.c>
- Ratios off
-</IfModule>
-LoadModule mod_vroot.c
-<IfModule mod_vroot.c>
- VRootEngine on
- VRootLog /var/log/proftpd/vroot.log
- VRootAlias "/srv/dev-disk-by-uuid-14545a7c-3542-4765-bba0-5e80902641b7/NAS/" "/NAS"
-</IfModule>
-<IfModule mod_wrap.c>
- TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
- TCPAccessSyslogLevels info warn
- TCPServiceName ftpd
-</IfModule>
----------
ID: configure_proftpd_mod_core_welcome_msg
Function: file.managed
Name: /etc/proftpd/welcome.msg
Result: True
Comment: File /etc/proftpd/welcome.msg is in the correct state
Started: 11:42:37.619534
Duration: 1.264 ms
Changes:
----------
ID: configure_proftpd_mod_tls
Function: file.managed
Name: /etc/proftpd/tls.conf
Result: True
Comment: File /etc/proftpd/tls.conf is in the correct state
Started: 11:42:37.620882
Duration: 10.136 ms
Changes:
----------
ID: configure_proftpd_mod_auth
Function: file.append
Name: /etc/proftpd/proftpd.conf
Result: True
Comment: Appended 9 lines
Started: 11:42:37.631116
Duration: 7.22 ms
Changes:
----------
diff:
---
+++
@@ -42,3 +42,12 @@
</Limit>
</Directory>
+<IfModule mod_auth.c>
+ DefaultRoot /srv/ftp
+ MaxClients 5
+ MaxLoginAttempts 1
+ RequireValidShell on
+ # This option is useless because this is handled via the PAM
+ # pam_listfile.so module, so set it to 'off' by default.
+ UseFtpUsers off
+</IfModule>
----------
ID: proftpd_ftpusers_deny_root
Function: file.uncomment
Name: /etc/ftpusers
Result: True
Comment: Pattern already uncommented
Started: 11:42:37.638431
Duration: 1.137 ms
Changes:
----------
ID: configure_proftpd_mod_auth_pam
Function: file.append
Name: /etc/proftpd/proftpd.conf
Result: True
Comment: Appended 4 lines
Started: 11:42:37.639651
Duration: 1.492 ms
Changes:
----------
diff:
---
+++
@@ -51,3 +51,7 @@
# pam_listfile.so module, so set it to 'off' by default.
UseFtpUsers off
</IfModule>
+<IfModule mod_auth_pam.c>
+ AuthPAM on
+ AuthPAMConfig proftpd
+</IfModule>
----------
ID: configure_proftpd_mod_ban
Function: file.append
Name: /etc/proftpd/proftpd.conf
Result: True
Comment: Appended 7 lines
Started: 11:42:37.641225
Duration: 7.673 ms
Changes:
----------
diff:
---
+++
@@ -55,3 +55,10 @@
AuthPAM on
AuthPAMConfig proftpd
</IfModule>
+<IfModule mod_ban.c>
+ BanEngine off
+ BanControlsACLs all allow user root
+ BanLog /var/log/proftpd/ban.log
+ BanMessage Host %a has been banned
+ BanTable /run/proftpd/ban.tab
+</IfModule>
----------
ID: configure_proftpd_mod_ctrls
Function: file.append
Name: /etc/proftpd/proftpd.conf
Result: True
Comment: Appended 7 lines
Started: 11:42:37.648992
Duration: 1.948 ms
Changes:
----------
diff:
---
+++
@@ -62,3 +62,10 @@
BanMessage Host %a has been banned
BanTable /run/proftpd/ban.tab
</IfModule>
+<IfModule mod_ctrls.c>
+ ControlsEngine on
+ ControlsMaxClients 2
+ ControlsLog /var/log/proftpd/controls.log
+ ControlsInterval 5
+ ControlsSocket /run/proftpd/proftpd.sock
+</IfModule>
----------
ID: configure_proftpd_mod_ctrls_admin
Function: file.append
Name: /etc/proftpd/proftpd.conf
Result: True
Comment: Appended 3 lines
Started: 11:42:37.651023
Duration: 1.425 ms
Changes:
----------
diff:
---
+++
@@ -69,3 +69,6 @@
ControlsInterval 5
ControlsSocket /run/proftpd/proftpd.sock
</IfModule>
+<IfModule mod_ctrls_admin.c>
+ AdminControlsEngine off
+</IfModule>
----------
ID: configure_proftpd_mod_delay
Function: file.append
Name: /etc/proftpd/proftpd.conf
Result: True
Comment: Appended 3 lines
Started: 11:42:37.652529
Duration: 1.418 ms
Changes:
----------
diff:
---
+++
@@ -72,3 +72,6 @@
<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>
Display More
I uninstalled the plugin and installed it again. The error is gone, and the service now shows that FTP is running, but I can't connect. WinSCP says connection refused.
Can somebody help me, please?
PS: I only use FTPS because Solid Explorer has a really slow transfer speed on SFTP and Samba, so this is the only reason I use FTPS."