Unsolved Debian 13 Trixie
-
Hello,
I am currently using FOG 1.5.10 on Debian 12 (BookWorm).
I am considering updating Debian to version 13 (Trixie).
Has anyone already performed this update?
Are there any issues to be aware of?Thanks for your help.
Pascal -
@plegrand I just did this today. I haven’t done much testing. I was upgrading from Debian 10 to 13. I had some trouble with sysv-rc-conf and libcurl4 when running installfog.sh. The instructions found here helped me: https://forums.fogproject.org/topic/9998/upgrade-ubuntu-16-10-to-17-04-sysv-rc-conf-fail/6. I had to edit /opt/fog/.fogsettings. I need to do a lot more testing but everything looks ok so far.
Starting with a fresh install would perhaps be easier.
-
@hillie
That means FOG 1.5.10 works fine with Debian 13 Trixie ?
With the new version of php (8.4)?
Thanks for your anwer
Pascal -
I don’t know if it will work or not.
We had one person try it, and I just got around to adding what they suggested as found here:
https://github.com/FOGProject/fogproject/pull/733I think it will work just fine, but we won’t know for sure until someone tries. What works for one may or may not work for another, so your mileage may vary.
-
This post is deleted! -
@Tom-Elliott I just upgraded Debian, im made some change and it seems to work fine
-
@plegrand @plegrand I have not tested everything but it seems to be working fine with Trixie. As mentioned, there were some minor challenges but with the help of @Tom-Elliott posts and posts from others, I got it upgraded. I did a full inventory on a new computer and that worked. I deployed one image and that seemed to work.
php -v
PHP 8.4.11 (cli) (built: Aug 3 2025 07:32:21) (NTS)
CopyrightThe PHP Group
Built by Debian
Zend Engine v4.4.11, CopyrightZend Technologies
with Zend OPcache v8.4.11, Copyright, by Zend Technologies
cat /etc/debian_version
13.0 -
@Tom-Elliott
Hello,
After updating and running a few tests, I noticed an error message in the logs:
fog env[1608]: PHP Warning: Increment on type bool has no effect, this will change in the next major version of PHP in /var/www/html/fog/lib/fog/fogbase.class.php on line 974What could be the solution to this problem?
Thanks for your help
-
@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.