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

    Fog 0.32 upgrade and user fix

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    4
    1.2k
    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.
    • K
      Kelly Estes
      last edited by

      Hello, I am running an old version of Fog 0.32 on CentOS 6 and recently after being terminated an admin deleted all the users in the fog application. I have 3 questions:

      1. Should I upgrade and if I do am I looking at likely issues.
        a) If I should upgrade should I look at doing a complete reinstall?
        b) Will my old images be compatible with the new Fog software?
      2. Is there a way to create a new user from the command line? I have root access to the system but do not know how to create a user.
      3. Once a user is created how do I reset it’s password? I tried the instructions I found online but it says not records changed.

      Any help will be greatly appreciated.

      Thank You,
      Kelly

      1 Reply Last reply Reply Quote 0
      • S
        SuP3R_Ch1cKeN
        last edited by

        1. You will most likely have issues unless you’ve done an install before however if you search the forums you should find posts related to your issues.
          a. I think a fresh install is always better then an upgrade but that’s really a preference thing
          b. Yes (kinda)… FOG 1.0.0+ uses PartClone and below 1.0.0 uses PartImage. Now with 1.0.0+ you can still deploy PartImage files however when you reupload the image it will be a PartClone file. It’s kind of a process to migrate all your images to PartClone images if you have a lot but it’s not really hard either. Tom’s post in this thread can help with this ([url]http://fogproject.org/forum/threads/partimage-aborts.10275/#post-24893[/url])

        2. and 3) I have no idea on this issue.

        FOG Server OS: CentOS 7
        FOG Version: FOG 1.2.0

        1 Reply Last reply Reply Quote 0
        • F
          Fhajad
          last edited by

          1. What you can do is get into the Database “fog” and the table “users” and inject a line to create a user.
          2. Once the user is created, you can login and add/edit/delete users.

          SSH into the server
          mysql -u root -p
          Enter password
          connect fog;
          INSERT INTO fog.users (uId, uName, uPass, uCreateDate, uCreateBy, uType) VALUES (NULL, ‘newuser’, ‘5f4dcc3b5aa765d61d8327deb882cf99’, CURRENT_TIMESTAMP, ‘’, ‘’);
          exit

          If you do those steps and past that INSERT INTO line exactly, it will create a user called “newuser” with the password “password”.

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

            Did the admin delete all of the users or just ones he felt would overall hurt the company?

            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

            249

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project