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

    Reattempting to update database failed

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    6
    2.4k
    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.
    • techno.clarensacT
      techno.clarensac
      last edited by

      Hi,

      My server : Debian 9
      Fog 1.4.4 6077

      Recently installed server.

      When capturing a folder is created

      0_1511461715814_pb_fog.png

      after the capture, i have this message :

      Reattempting to update Failed Error returned type 2
      File /var/www/html/fog/lib/fogftp.class.php
      ligne 463 ftp_login() : login incorrect host 10.130 …
      user name fog

      The station reboote and it starts again without ever ending
      I do not know what to do.
      Sorry for my english.
      Thanks.

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        OK what we usually see here is someone has change the linux user fog’s password. This is not the default web gui administrator fog. I’m talking about the linux service account named fog created by the FOG installer. If you have changed this linux account, no joy for you. There is a way to fix, but first lets find out what was changed.

        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!

        techno.clarensacT 1 Reply Last reply Reply Quote 0
        • techno.clarensacT
          techno.clarensac @george1421
          last edited by

          To george1421

          For the session debian my login is : fog and password : password
          For the interface for my login is : for and password : password

          what should I change ?

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @techno.clarensac
            last edited by

            @techno-clarensac Yes, you may NOT use the linux user fog for system administration. Please create another user such as fogadmin for system administration.

            To fix your install please do the following:

            1. Review the hidden file /opt/fog/.fogsettings
            2. Search of a line that has password= The text after the equals is what FOG thinks the password should be.
            3. Reset the linux password to the password identified in step 2.
            4. Go into the FOG Web GUI and into the FOG Settings and expand all entries, search for password there. Confirm that the password there is inline with the value you collected in step 2.
            5. Still in the Web GUI go into the storage node configuration for this server and confirm the password there also matches what you collected in step 2.
            6. Back in the linux console of the fog server, rerun the FOG installer to clean up the remaining bits and to resync the passwords.

            From there FOG should be happy.

            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!

            techno.clarensacT 2 Replies Last reply Reply Quote 0
            • techno.clarensacT
              techno.clarensac @george1421
              last edited by

              @george1421
              Thanks,
              I will test tomorrow because I’m not in my office.

              1 Reply Last reply Reply Quote 1
              • techno.clarensacT
                techno.clarensac @george1421
                last edited by

                @george1421

                Everything is working.
                Thank you very much.
                How to mark that the subject is solved ?

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

                202

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project