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

    Upgraded to 1.5.10.2482 - Now problems with replication to nodes

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    2 Posts 2 Posters 13 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.
    • M
      mp12
      last edited by

      Hi,

      I upgraded to 2482 today.

      Main System Ubuntu 24.04
      MasterNode with 2 Storage Nodes (one newly added after upgrading).

      Before upgrading everything worked fine. Images and Snapins where spread automatically.

      After upgrading I get error message in servicemaster.log:

      [18-Sep-2026 13:56:56 UTC] PHP Warning:  Undefined property: stdClass::$pass in /var/www/html/fog/lib/service/fogservice.class.php on line 559
      [18-Sep-2026 13:56:59 UTC] PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 494
      

      As in fogreplicator.log:

      [09-18-26 3:56:01 pm]  * Error: FTP login rejected by fognode-2 for user fogproject
      [09-18-26 3:56:01 pm]  | Check the password stored for this node
      

      And in fogsnapinrep.log:

      [09-18-26 3:58:19 pm]  * Error: FTP login rejected by fognode for user fogproject
      [09-18-26 3:58:19 pm]  | Check the password stored for this node
      

      Seems as the password from user fogproject is wrong on both Nodes?
      I tried to login to the nodes ftp from the master with the password from webgui. This worked fine.

      Any suggestions?

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

        @mp12 Thanks for the logs. This is a bug in 1.5.10.2482, not your node passwords.

        A security change in 2482 removes the storage node password from the node data that the API returns. The image and snapin replicators read their node list from that same data. So they now send an empty password, and every node rejects the login. The Undefined property: stdClass::$pass warning is that missing field.

        The fix is merged to dev-branch: https://github.com/FOGProject/fogproject/pull/1770

        To get it now, update from dev-branch:

        cd /path/to/fogproject
        git checkout dev-branch
        git pull
        cd bin
        sudo ./installfog.sh -y
        

        Or wait for the next stable release. Your stored passwords are correct, so you do not need to change anything on the nodes.

        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

        64

        Online

        12.8k

        Users

        17.6k

        Topics

        157.1k

        Posts
        Copyright © 2012-2026 FOG Project