• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • F
    fry_p Moderator
    last edited by May 3, 2016, 11:29 AM

    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

    C 1 Reply Last reply May 3, 2016, 11:32 AM Reply Quote 0
    • C
      ch3i Moderator @fry_p
      last edited by May 3, 2016, 11:32 AM

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

      1 Reply Last reply Reply Quote 1
      • F
        fry_p Moderator
        last edited by May 3, 2016, 11:47 AM

        @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

        T 1 Reply Last reply May 3, 2016, 11:49 AM Reply Quote 0
        • T
          Tom Elliott @fry_p
          last edited by May 3, 2016, 11:49 AM

          @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

          F 1 Reply Last reply May 3, 2016, 11:53 AM Reply Quote 0
          • F
            fry_p Moderator @Tom Elliott
            last edited by May 3, 2016, 11:53 AM

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

            217

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project