• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • T
    techno.clarensac
    last edited by Nov 23, 2017, 6:32 PM

    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
    • G
      george1421 Moderator
      last edited by Nov 23, 2017, 6:41 PM

      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!

      T 1 Reply Last reply Nov 23, 2017, 7:09 PM Reply Quote 0
      • T
        techno.clarensac @george1421
        last edited by Nov 23, 2017, 7:09 PM

        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 ?

        G 1 Reply Last reply Nov 23, 2017, 8:02 PM Reply Quote 0
        • G
          george1421 Moderator @techno.clarensac
          last edited by Nov 23, 2017, 8:02 PM

          @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!

          T 2 Replies Last reply Nov 23, 2017, 8:12 PM Reply Quote 0
          • T
            techno.clarensac @george1421
            last edited by Nov 23, 2017, 8:12 PM

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

            1 Reply Last reply Reply Quote 1
            • T
              techno.clarensac @george1421
              last edited by Nov 24, 2017, 10:11 AM

              @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
              1 / 1
              • First post
                6/6
                Last post

              239

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project