• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    [Problem] Storage Node connection issues after updating to FOG 1.6

    Scheduled Pinned Locked Moved Unsolved Bug Reports
    4 Posts 2 Posters 454 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Fog_Newb
      last edited by

      Hi all,

      Not sure if this is a bug but…

      I recently upgraded my FOG server (running in a VM on Ubuntu 24.04) from 1.5.x to 1.6. The upgrade process went smoothly with no errors, but afterwards I ran into a problem: the Default Storage Node could not connect. In the Web UI, “Test Connection” kept failing with an error about username/password not matching.

      Here’s what I’ve done so far to troubleshoot:

      Checked the .fogsettings file – confirmed the management username (fogproject) and password were correct.

      Verified FTP manually – I was able to ftp localhost as fogproject using the same password, and it worked fine.

      Checked the database – logged into MariaDB and confirmed that the nfsGroupMembers table had the correct ngmUser and ngmPass matching .fogsettings.

      Looked at the hostname – saw that ngmHostname for DefaultMember was set to the server’s LAN IP (10.1.1.100). I tried updating it to 127.0.0.1 instead, restarted the FOG services (FOGImageReplicator and FOGSnapinReplicator), but the connection still fails.

      Restarted services and re-tested multiple times, no change.

      Here’s the output of systemctl status | grep FOG showing all services running:

      FOGFileDeleter.service
      ├─1048 php /opt/fog/service/FOGFileDeleter/FOGFileDeleter
      └─1115 php /opt/fog/service/FOGFileDeleter/FOGFileDeleter
      FOGImageReplicator.service
      ├─1054 php /opt/fog/service/FOGImageReplicator/FOGImageReplicator
      └─1116 php /opt/fog/service/FOGImageReplicator/FOGImageReplicator
      FOGImageSize.service
      ├─1059 php /opt/fog/service/FOGImageSize/FOGImageSize
      └─1117 php /opt/fog/service/FOGImageSize/FOGImageSize
      FOGMulticastManager.service
      └─1062 php /opt/fog/service/FOGMulticastManager/FOGMulticastManager
      FOGPingHosts.service
      ├─1071 php /opt/fog/service/FOGPingHosts/FOGPingHosts
      └─1131 php /opt/fog/service/FOGPingHosts/FOGPingHosts
      FOGScheduler.service
      ├─1074 php /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
      └─1133 php /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler
      FOGSnapinHash.service
      ├─1076 php /opt/fog/service/FOGSnapinHash/FOGSnapinHash
      └─1135 php /opt/fog/service/FOGSnapinHash/FOGSnapinHash
      FOGSnapinReplicator.service
      ├─1082 php /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator
      └─1137 php /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator

      So far, I’ve confirmed:

      Credentials are correct (FTP works).

      Database values match .fogsettings.

      Tried both LAN IP and 127.0.0.1 as hostname.

      All FOG services are running.

      Still unable to get the storage node to pass the connection test in the Web UI.

      Has anyone else run into storage node connection issues after moving to the 1.6 branch? Did something change in how the node authenticates compared to 1.5.x?

      Thanks for any advice!

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @Fog_Newb
        last edited by

        @Fog_Newb 1.6 prefers using SSH access for SFTP connectivity to the Nodes:

        Can you output your /etc/ssh/sshd_config file? I suspect the sftp line is screwy at this point.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        F 1 Reply Last reply Reply Quote 0
        • F
          Fog_Newb @Tom Elliott
          last edited by

          @Tom-Elliott Oh

          sshd.txt

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @Fog_Newb
            last edited by

            @Fog_Newb Yep, it’s as I suspected:

            The Line:

            Subsystem	sftp	/usr/lib/openssh/sftp-server
            

            should be changed to:

            Subsystem	sftp	internal-sftp
            

            Then restart ssh services: systemctl restart sshd

            Then your Storage Node testing should succeed!

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            170

            Online

            12.3k

            Users

            17.4k

            Topics

            155.7k

            Posts
            Copyright © 2012-2025 FOG Project