Issues with disk in an unsafe state
-
@sebastian-roth What’s the best way to backup a fog server?
-
@sebastian-roth Since my Fog server is a virtual machine do consider creating a snapshot a good back before updating Fog?
-
@sjensen Yes a snapshot would let you roll the changes back to a known good condition. Just don’t forget to integrate your snapshot into the VM once you have proven that the update is successful.
-
@george1421 thanks. Do you guys have a guide to walk me through the upgrade process? I am still very new to Linux and dont quite understand whole process.
-
@sjensen said in Issues with disk in an unsafe state:
Do you guys have a guide to walk me through the upgrade process?
We have three guides:
-
@sjensen The first link that Wayne posted speaks directly to your need. Just don’t execute any
git checkout xxxxx
commands unless you want to upgrade to a development release. I can say that 1.5.0 RC10 (git checkout dev-branch
) is pretty stable and does fix a few issues that exist in 1.4.4. stable. -
@wayne-workman I got the update installed and i am uploading an image from the Samsung laptop now. One question at the tail end of the install it did say that a backup of the database failed. Is there something I can in order to be able to backup the database? Or do i not need to worry about this?
-
@sjensen said in Issues with disk in an unsafe state:
One question at the tail end of the install it did say that a backup of the database failed.
That’s not the end of the installation… inside of
fogproject/bin
there’s a new directory created in there after you’ve ran the installer once, it should be called ‘errors’ or something. But anyways, go into that directory and there will be an output file form the installer. Towards the end of the most recent one, you’ll find the error causing the database backup problem. -
@wayne-workman The reason why the database backup failed is because it is trying to connect to an ip address that dhcp assigned to the server at some point during the install. http://192.168.xx.xx//fog//maintenance/backup_db.php
I’m not where to change this ip address at.
-
@sjensen said in Issues with disk in an unsafe state:
I’m not where to change this ip address at.
It’s in
/opt/fog/.fogsettings
it’s the field calledipaddress=
-
@sjensen said in Issues with disk in an unsafe state:
I got the update installed and i am uploading an image from the Samsung laptop now.
Great to see that you’re up and running. I’ll mark this solved then. Please open new threads (yes several if you like) in case you hit another problem. It’s best to not mix up a dozen or so questions in one thread.