My perfectly running FTP server setup got destroyed after recent update

  • My perfectly running FTP server setup got botched by the recent update. I installed the recent OMV update and after it the plugin and now it's a mess! Why turning a perfectly running service into a plugin during a point release? Where am I supposed to configure the FTP server now? Under services anything related to the FTP service is gone and in the plugin section nothing can be configured and the FTP server is dead. :(


    This gets displayed under Diagnosis/Services/FTP:



    Tried to fix things with apt update/upgrade with this result:


  • backslash

    Hat den Titel des Themas von „My perfectly runningFTP-Server setup got destroyed after recent update“ zu „My perfectly running FTP server setup got destroyed after recent update“ geändert.
  • apt-get update:

    root@openmediavault:~# apt-get update

    Holen:1 file:/var/cache/openmediavault/archives  InRelease

    Ign:1 file:/var/cache/openmediavault/archives  InRelease

    Holen:2 file:/var/cache/openmediavault/archives  Release

    Ign:2 file:/var/cache/openmediavault/archives  Release

    Holen:3 file:/var/cache/openmediavault/archives  Packages

    Ign:3 file:/var/cache/openmediavault/archives  Packages

    Holen:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Ign:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Holen:5 file:/var/cache/openmediavault/archives  Translation-de

    Ign:5 file:/var/cache/openmediavault/archives  Translation-de

    Holen:6 file:/var/cache/openmediavault/archives  Translation-en

    Ign:6 file:/var/cache/openmediavault/archives  Translation-en

    Holen:3 file:/var/cache/openmediavault/archives  Packages

    Ign:3 file:/var/cache/openmediavault/archives  Packages

    Holen:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Ign:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Holen:5 file:/var/cache/openmediavault/archives  Translation-de

    Ign:5 file:/var/cache/openmediavault/archives  Translation-de

    Holen:6 file:/var/cache/openmediavault/archives  Translation-en

    Ign:6 file:/var/cache/openmediavault/archives  Translation-en

    Holen:3 file:/var/cache/openmediavault/archives  Packages

    Ign:3 file:/var/cache/openmediavault/archives  Packages

    Holen:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Ign:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Holen:5 file:/var/cache/openmediavault/archives  Translation-de

    Ign:5 file:/var/cache/openmediavault/archives  Translation-de

    Holen:6 file:/var/cache/openmediavault/archives  Translation-en

    Ign:6 file:/var/cache/openmediavault/archives  Translation-en

    Holen:3 file:/var/cache/openmediavault/archives  Packages

    Ign:3 file:/var/cache/openmediavault/archives  Packages

    Holen:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Ign:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Holen:5 file:/var/cache/openmediavault/archives  Translation-de

    Ign:5 file:/var/cache/openmediavault/archives  Translation-de

    Holen:6 file:/var/cache/openmediavault/archives  Translation-en

    Ign:6 file:/var/cache/openmediavault/archives  Translation-en

    Holen:3 file:/var/cache/openmediavault/archives  Packages

    Ign:3 file:/var/cache/openmediavault/archives  Packages

    Holen:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Ign:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Holen:5 file:/var/cache/openmediavault/archives  Translation-de

    Ign:5 file:/var/cache/openmediavault/archives  Translation-de

    Holen:6 file:/var/cache/openmediavault/archives  Translation-en

    Ign:6 file:/var/cache/openmediavault/archives  Translation-en

    Holen:3 file:/var/cache/openmediavault/archives  Packages

    Ign:3 file:/var/cache/openmediavault/archives  Packages

    Holen:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Ign:4 file:/var/cache/openmediavault/archives  Translation-de_DE

    Holen:5 file:/var/cache/openmediavault/archives  Translation-de

    Ign:5 file:/var/cache/openmediavault/archives  Translation-de

    Holen:6 file:/var/cache/openmediavault/archives  Translation-en

    Ign:6 file:/var/cache/openmediavault/archives  Translation-en      

    Holen:3 file:/var/cache/openmediavault/archives  Packages          

    Holen:4 file:/var/cache/openmediavault/archives  Translation-de_DE             

    Ign:4 file:/var/cache/openmediavault/archives  Translation-de_DE               

    Holen:5 file:/var/cache/openmediavault/archives  Translation-de                

    Ign:5 file:/var/cache/openmediavault/archives  Translation-de                  

    Holen:6 file:/var/cache/openmediavault/archives  Translation-en                

    Ign:6 file:/var/cache/openmediavault/archives  Translation-en                  

    OK:7 http://deb.debian.org/debian bullseye InRelease                           

    OK:8 http://deb.debian.org/debian bullseye-updates InRelease                   

    OK:9 http://security.debian.org/debian-security bullseye-security InRelease    

    OK:10 https://deb.debian.org/debian bullseye-backports InRelease               

    OK:11 https://download.docker.com/linux/debian bullseye InRelease              

    OK:12 https://openmediavault-plugin-developers.github.io/packages/debian shaitan InRelease

    OK:14 https://packages.openmediavault.org/public shaitan InRelease        

    Holen:13 https://adelolmo.github.io/bullseye bullseye InRelease [3.636 B]

    Es wurden 3.636 B in 3 s geholt (1.421 B/s).

    Paketlisten werden gelesen… Fertig


    apt-get upgrade:

    root@openmediavault:~# apt-get upgrade

    Paketlisten werden gelesen… Fertig

    Abhängigkeitsbaum wird aufgebaut… Fertig

    Statusinformationen werden eingelesen… Fertig

    Paketaktualisierung (Upgrade) wird berechnet… Fertig

    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

    6 nicht vollständig installiert oder entfernt.

    Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.

    Möchten Sie fortfahren? [J/n] J

    proftpd-core (1.3.7a+dfsg-12+deb11u2) wird eingerichtet ...

    usermod: Keine Änderungen

    Synchronizing state of proftpd.service with SysV service script with /lib/systemd/systemd-sysv-install.

    Executing: /lib/systemd/systemd-sysv-install enable proftpd

    Failed to enable unit: Unit file /etc/systemd/system/proftpd.service is masked.

    dpkg: Fehler beim Bearbeiten des Paketes proftpd-core (--configure):

     »installiertes proftpd-core-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück

    dpkg: Abhängigkeitsprobleme verhindern Konfiguration von proftpd-mod-vroot:

     proftpd-mod-vroot hängt ab von proftpd-abi-1.3.7a; aber:

      Paket proftpd-abi-1.3.7a ist nicht installiert.

      Paket proftpd-core, das proftpd-abi-1.3.7a bereitstellt, ist noch nicht konfiguriert.

    dpkg: Fehler beim Bearbeiten des Paketes proftpd-mod-vroot (--configure):

     Abhängigkeitsprobleme - verbleibt unkonfiguriert

    dpkg: Abhängigkeitsprobleme verhindern Konfiguration von openmediavault-ftp:

     openmediavault-ftp hängt ab von proftpd-mod-vroot; aber:

      Paket proftpd-mod-vroot ist noch nicht konfiguriert.

    dpkg: Fehler beim Bearbeiten des Paketes openmediavault-ftp (--configure):

     Abhängigkeitsprobleme - verbleibt unkonfiguriert

    dpkg: Abhängigkeitsprobleme verhindern Konfiguration von proftpd-mod-crypto:

     proftpd-mod-crypto hängt ab von proftpd-core (= 1.3.7a+dfsg-12+deb11u2); aber:

      Paket proftpd-core ist noch nicht konfiguriert.

    dpkg: Fehler beim Bearbeiten des Paketes proftpd-mod-crypto (--configure):

     Abhängigkeitsprobleme - verbleibt unkonfiguriert

    dpkg: Abhängigkeitsprobleme verhindern Konfiguration von proftpd-mod-wrap:

     proftpd-mod-wrap hängt ab von proftpd-core (= 1.3.7a+dfsg-12+deb11u2); aber:

      Paket proftpd-core ist noch nicht konfiguriert.

    dpkg: Fehler beim Bearbeiten des Paketes proftpd-mod-wrap (--configure):

     Abhängigkeitsprobleme - verbleibt unkonfiguriert

    dpkg: Abhängigkeitsprobleme verhindern Konfiguration von proftpd-basic:

     proftpd-basic hängt ab von proftpd-core; aber:

      Paket proftpd-core ist noch nicht konfiguriert.

     proftpd-basic hängt ab von proftpd-mod-wrap; aber:

      Paket proftpd-mod-wrap ist noch nicht konfiguriert.

     proftpd-basic hängt ab von proftpd-mod-crypto; aber:

      Paket proftpd-mod-crypto ist noch nicht konfiguriert.

    dpkg: Fehler beim Bearbeiten des Paketes proftpd-basic (--configure):

     Abhängigkeitsprobleme - verbleibt unkonfiguriert

    Fehler traten auf beim Bearbeiten von:

     proftpd-core

     proftpd-mod-vroot

     openmediavault-ftp

     proftpd-mod-crypto

     proftpd-mod-wrap

     proftpd-basic

    E: Sub-process /usr/bin/dpkg returned an error code (1)

  • root@openmediavault:~# systemctl unmask proftpd.service

    Removed /etc/systemd/system/proftpd.service.

    root@openmediavault:~# apt-get install --reinstall openmediavault-ftp

    Paketlisten werden gelesen… Fertig

    Abhängigkeitsbaum wird aufgebaut… Fertig

    Statusinformationen werden eingelesen… Fertig

    0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.

    6 nicht vollständig installiert oder entfernt.

    Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.

    E: Internal Error, No file name for openmediavault-ftp:amd64

  • This has brought back the server! Thank you very much! But how can I access the server settings now from the web UI? Under services the FTP entry is still gone and from the plugin nothing can be configured.


    Update: After a reboot the menu entry under services is back but when I click on it I get the typical Guru Meditation <3 like OMV error and the browser URL shows a 404:


    http://192.168.178.20/#/404


    root@openmediavault:~# apt-get install proftpd-basic proftpd-mod-vroot openmediavault-ftp

    Paketlisten werden gelesen… Fertig

    Abhängigkeitsbaum wird aufgebaut… Fertig

    Statusinformationen werden eingelesen… Fertig

    proftpd-basic ist schon die neueste Version (1.3.7a+dfsg-12+deb11u2).

    proftpd-basic wurde als manuell installiert festgelegt.

    proftpd-mod-vroot ist schon die neueste Version (0.9.8-4+b1).

    proftpd-mod-vroot wurde als manuell installiert festgelegt.

    openmediavault-ftp ist schon die neueste Version (6.0-1).

    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

    6 nicht vollständig installiert oder entfernt.

    Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.

    Möchten Sie fortfahren? [J/n] J

    proftpd-core (1.3.7a+dfsg-12+deb11u2) wird eingerichtet ...

    usermod: Keine Änderungen

    Synchronizing state of proftpd.service with SysV service script with /lib/systemd/systemd-sysv-install.

    Executing: /lib/systemd/systemd-sysv-install enable proftpd

    proftpd-mod-vroot (0.9.8-4+b1) wird eingerichtet ...

    proftpd-mod-crypto (1.3.7a+dfsg-12+deb11u2) wird eingerichtet ...

    proftpd-mod-wrap (1.3.7a+dfsg-12+deb11u2) wird eingerichtet ...

    proftpd-basic (1.3.7a+dfsg-12+deb11u2) wird eingerichtet ...

    openmediavault-ftp (6.0-1) wird eingerichtet ...

    Updating service units ...

    Updating configuration database ...

    Updating configuration ...

    Trigger für openmediavault (6.2.0-1) werden verarbeitet ...

    Updating workbench configuration files ...

    Restarting engine daemon ...

    root@openmediavault:~# 

  • votdev

    Hat das Label gelöst hinzugefügt.
  • votdev

    Hat das Label OMV 6.x hinzugefügt.
  • macom

    Hat das Thema aus dem Forum General nach FTP verschoben.
  • Hm, i had FTP service in use Plugin installed, but it faild loding the service after Yesterday's update and got it running again following the instructions above using ssh. (The plugin couldn't neighter been removed nor installed in the plugin's section. before)


    PS: My MF-printer-scanner is storing pdf files there, cause samba wasn't easy to configure anymore on OMV.

    heinso


    OMV 5.6.25-1 (Usul) upgraded to currently 6.9.15-2(Shaitan), 64bit, on my ASRock Celeron J4105 NAS Build (10W TDP ;) ), 150WPicoPSU, Raid 5 Array: 4x WD Red 2TB, 250 GB NVMe SSD on PCIe V1, 2x 4GB RAM SO-DIMM 2400, [read/write 950/850 Mb/s over GE (84 GB-file with i5 8th Gen, NVMe SSD as exchange partner)].

    Einmal editiert, zuletzt von heinso ()

    • Offizieller Beitrag

    Hm, i had FTP Plugin installed, but it faild loding the service after Yesterday's update and got it running again following the instructions above using ssh. (The plugin couldn't neighter been removed nor installed in the plugin's section. before)

    ftp wasn't a plugin until yesterday. It was part of the OMV package itself. The ftp part is just removed and service stopped when installing 6.2.0. The config and database entry should still be there. People just need to install the openmediavault-ftp plugin and refresh their browser cache (ctrl-shift-R) and things should be fine.


    I haven't tried this yet but I think if you don't want to go through this, just install the ftp plugin first. It should force the openmediavault package to update 6.2.0.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Ok I undestand,


    but the case (after failed update to openmediavault-ftp 6.0-2) was that ftp service was shown as installed plugin and couldn't be removed or reconfigured any more using the pluginsection. So without the apt reinstall in the terminal it was some kind of hänging in the midle of nowhere tagged red in the dashboard. There'll be some other users with hanging ftps for sure that hopefully find this thread.


    And Yes it was as You explaned: the config survived ; ))


    Anyhow, ftp is fixed now. Thanx a lot for hints and explanations.

    heinso


    OMV 5.6.25-1 (Usul) upgraded to currently 6.9.15-2(Shaitan), 64bit, on my ASRock Celeron J4105 NAS Build (10W TDP ;) ), 150WPicoPSU, Raid 5 Array: 4x WD Red 2TB, 250 GB NVMe SSD on PCIe V1, 2x 4GB RAM SO-DIMM 2400, [read/write 950/850 Mb/s over GE (84 GB-file with i5 8th Gen, NVMe SSD as exchange partner)].

    Einmal editiert, zuletzt von heinso ()

  • After the recent update (openmediavault 6.3.0 and openmediavault-ftp 6.0-3) my ftp server is dead again...


    I can't connect to the ftp server anymore and diagnosis view shows this:


    The services view looks good though and ftp service appears to be activated:


    apt-get update/upgrade can be executed without errors. While trying to connect with FileZilla to the ftp, I get this error:

    "ECONNREFUSED - Verbindung durch Server verweigert". Before the recent update I could connect perfectly to the ftp server.


    Error from the OMV notification panel:

    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; ftpwho -v 2>&1' with exit code '1': /run/proftpd.scoreboard: No such file or directory

    (Perhaps you need to specify the ScoreboardFile with -f, or change

    the compile-time default directory?)

    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; ftpwho -v 2>&1' with exit code '1': /run/proftpd.scoreboard: No such file or directory

    (Perhaps you need to specify the ScoreboardFile with -f, or change

    the compile-time default directory?) in /usr/share/php/openmediavault/system/process.inc:220

    Stack trace:

    #0 /usr/share/openmediavault/engined/rpc/proftpd.inc(360): OMV\System\Process->execute(Array)

    #1 [internal function]: Engined\Rpc\OMVRpcServiceProftpd->getStats(NULL, Array)

    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getStats', NULL, Array)

    #4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FTP', 'getStats', NULL, Array, 1)

    #5 {main}

    • Offizieller Beitrag

    Try to rebuild and restart the service via omv-salt deploy run proftpd.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!