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

    Reinstall Scripts?

    Scheduled Pinned Locked Moved
    General Problems
    2
    3
    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.
    • M
      musat
      last edited by

      Hello,
      I needed to repartition my FOG server and wound up corrupting the /home/ partition. I deleted and recreated the partition and the fog user directory. Is there supposed to be any scripts or anything in that directory? Additionally, in my moving items around while out of space in my /images/ partition, I think I would up deleting some files in the /images/postdownloadscripts/ and the /images/dev/postinitscripts/ directories.

      So the question is, what should be in those directories and where can I download the initial contents for those directories? I ran the installfog.sh script again and it looked like it might have been doing that, but the contents of the directories didn’t change. Maybe nothing is missing after all.

      Thanks, Tim

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @musat
        last edited by

        @musat FOG keeps DB backups and web directory backups inside of /home and makes sure the local fog account has a home directory so that FTP works right. That’s the only thing FOG uses /home for. Also - the fog installer is really good at fixing problems - the installer should be everyone’s go-to tool for problems.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • M
          musat
          last edited by

          Thanks. I was just wondering. Before I recreated the /home/fog/ directory the image capture process kept giving errors. So I was thinking that there might be some script or something in that directory. However, now after just manually recreating that directory image capture is working just fine again. I had run the installofg.sh and I had thought that it would have recreated the fog home directory, since it did detect that the directory was missing. I didn’t read the screen carefully enough to see that it was directing me to manually delete and recreate the fog user. Recreating the home directory did the trick through.

          Thanks for confirming that I am not missing anything critical in that directory though.

          Tim

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

          155

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project