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

    Fog Server Fog Account password resets every trunk upgrade

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    3
    5
    1.5k
    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.
    • fry_pF
      fry_p Moderator
      last edited by

      Hello all,
      This is not an urgent issue as I have a band-aid fix for this at the time being. I have a script that updates FOG trunk every night at 3am automatically. It works great, but one thing I do not like about it is that the FOG installer resets the FOG account password every time it updates. Learning from my mistakes from an earlier thread, I use a separate FogAdmin account to work on the server while leaving the built in FOG account alone. This works great except since the password changes every update and I update every day, it hoses up FTP stuff. For example, when I go to upload an image, it works perfectly until it tries to update the changes to the database. It throws an authentication (invalid password) error and tries a few more times before finally resetting and trying to upload again. My band-aid fix is to manually change the FOG account password to match my FTP password on the GUI. This works until it updates again. I believe FOG sets a random password every upgrade, so there isn’t an easy way to have it match up on the GUI. I can post the content of the script if anyone wants it, I modified one that I found in a past post in the forums. Please let me know if you need more info/don’t understand my wall of text 🙂

      Thanks!
      Paul

      Like open source community computing? Why not do it for a good cause?
      Use your computer/server for humanitarian projects when it is idle!
      https://join.worldcommunitygrid.org?recruiterId=1026912

      ch3iC 1 Reply Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator @fry_p
        last edited by

        @fry_p Hi, Have you check the .fogsettings in /opt/fog ? It’s used during the upgrade.

        1 Reply Last reply Reply Quote 1
        • fry_pF
          fry_p Moderator
          last edited by

          @ch3i , I do see a setting for a password. Is this file retained/referenced during the install? If so, this can work. I know it isn’t good practice to put it right there in plaintext, but unless there is a fancy way to encrypt it, I’d be ok with doing that.

          Thanks!
          Paul

          Like open source community computing? Why not do it for a good cause?
          Use your computer/server for humanitarian projects when it is idle!
          https://join.worldcommunitygrid.org?recruiterId=1026912

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

            @fry_p Yes. It’s referenced during the installation/upgrade process.

            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

            fry_pF 1 Reply Last reply Reply Quote 0
            • fry_pF
              fry_p Moderator @Tom Elliott
              last edited by

              @Tom-Elliott @ch3i I changed it to my password. Thanks, I was thinking there was something like that, just didn’t know where.

              Thanks!

              Like open source community computing? Why not do it for a good cause?
              Use your computer/server for humanitarian projects when it is idle!
              https://join.worldcommunitygrid.org?recruiterId=1026912

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

              255

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project