Debian 13 Trixie
-
@plegrand 1.5.10 is very old, run on stable branch or working-1.6 you will be fine.
-
@Tom-Elliott
What is the procedure for using the stable branch?
Currently, I usually do it this way:git clone https://github.com/FOGProject/fogproject.git /home/fog-depot cd /home/fog-depot git branch git checkout master or git checkout dev-branch git init git pull cd bin/ ./installfog.sh
Thanks for your help
-
cd /path/to/fog-project/installer/folder git checkout stable git pull cd bin ./installfog.sh
That should be all that’s necessary. The stable can then be changed to
master
for 1.5.10 official release, anddev-branch
for whatever the bleeding edge of FOG is based on the 1.5.10 branches. andworking-1.6
to see the beta version. -
I’ve got an error :
git checkout stable erreur : Vos modifications locales aux fichiers suivants seraient écrasées par l'extraction : lib/common/functions.sh Veuillez valider ou remiser vos modifications avant de basculer de branche. Abandon
git checkout stable error: Your local changes to the following files would be overwritten by the checkout: lib/common/functions.sh Please commit or stash your changes before switching branches. Abandon
git branch dev-branch * master
-
@plegrand IT seems to me you manually edited yoru lib/common/functions.sh
So you need to stash the changes or revert those changes.
This can be done in many different ways, usually the simplest method being:
git checkout lib/common/functions.sh
but this would only fix this one file, if you’ve any others you changed manually, then you may need to do any/all of those files.The stash method is another simple way to move all custom changes out of the way:
git stash
then the steps.I don’t know what changes you were making so this is entirely up to you on what steps you’re willing to part with. Have a backup handy of your installation directory just in case.
-
@Tom-Elliott But i didnt modify this file:
lib/common/functions.sh -
@plegrand In fact i modify this file because of an error during install
1473 lastlog -u $username | tail -n1 | grep “**.***” >/dev/null 2>&1I replace lastlog by lastlog2
-
@Tom-Elliott
After “git checkout lib/common/functions.sh”
I’m stuck on Downloading kernel, init and fog-client binaries…curl --silent -kOL https://github.com/FOGProject/fos/releases/latest/download/init.xz
- Could not download init.xz properly
-
It seems like maybe you’re behind a proxy? or something, I don’t know. If this were broken in general, i’m certain we’d have known about it by now.
-
@Tom-Elliott No proxy and no network problem here
-
@plegrand Something on your network is not allowing the file to download.
Can you try the curl you see it erroring out and see what you see?
-
@Tom-Elliott
After updating from the stable branch, I am still on 1.5.10. -
@plegrand I’m not sure i understand what you’re saying here.
If you installed Stable branch and it completed successfully you should be on 1.5.10.1673, not 1.5.10
Did it complete successfully?
-
@Tom-Elliott
Sorry :Thanks for your help.
It seems to works fine now -
@Tom-Elliott
The upgrade to stable version completed successfully.
I’m now on fog 1.5.10.1673
Thanks again