Categories

  • 13k Topics
    115k Posts
    Tom ElliottT

    @WielandPP1 Thanks for the log line. It shows the cause exactly.

    PHP 8 is supported, so you do not need a different PHP version. The problem is a missing PHP extension. On Linux Mint, the installer adds the ondrej PHP repository. In that repository, php-fpm installs PHP 8.4, but php-ssh2 installs the ssh2 extension for PHP 8.5. Your web server runs PHP 8.4, so ssh2_connect() does not exist and the snapin upload fails.

    To fix your server now, install the ssh2 extension for PHP 8.4 and restart PHP-FPM:

    sudo apt-get install php8.4-ssh2 sudo systemctl restart php8.4-fpm

    Then try the snapin upload again.

    We are also fixing the installer in working-1.6 and rc-1.6.0:

    The installer installs the ssh2 extension for the PHP version that PHP-FPM runs. On Linux Mint, the installer uses the distribution’s own PHP, as it already does on Ubuntu and Debian. If the extension is missing, the upload shows “SSH Connection has failed” instead of a 500 error.
  • Get the latest news on what's happening.
    201 Topics
    842 Posts
    Tom ElliottT

    The sixteenth release candidate for FOG 1.6.0 is available on the rc-1.6.0 branch. It reports version 1.6.0-RC-16.

    Test it on a lab or non-production server first. The upgrade from 1.5 to 1.6 is one-way: it changes the database schema, and there is no down-migration.

    Changed since RC-15

    Multicast: a named session is no longer canceled before hosts join (#1922, #1923, #1924). RC-15 canceled a named session about 10 seconds after it started, and the PXE menu then rejected the session name. Multicast: a host cancel no longer ends a session that expects machines by name (#1925, #1926). Unregistered machines that joined by name keep receiving. End the session with its own Cancel. Multicast: the PXE join closes when udp-sender starts sending (#1927, #1928). A late machine could join a session already in transfer and receive a partial image. This adds schema 442 (multicastSessions.msTransferStart). Installer: the ssh2 extension matches the PHP that php-fpm runs (#1929, #1931). On Linux Mint, snapin uploads failed with a 500 because php-ssh2 went onto a different PHP version. Linux Mint now uses the distro PHP, as Ubuntu does. Forum: https://forums.fogproject.org/topic/18289 Services: each daemon child opens its own database connection (#1930, #1933, #1934). A restarted service child could fail with “Packets out of order” and read empty settings. Dashboard and reports: per-day charts use your time zone (#1935, #1936, #1937). The imaging history graph showed each day one day early west of UTC. The per-day charts on the Imaging, Snapin, Audit, Fleet, Hardware and Storage reports now count each run on its day in FOG’s display zone.

    Before you upgrade

    Back up your database and /opt/fog/.fogsettings. Read the release notes: https://github.com/FOGProject/fogproject/blob/rc-1.6.0/docs/release/1.6.0-release-notes.md 1.6 removes Display Manager, Directory Cleaner, User Cleanup, Client Updater, Green FOG and the persistentgroups plugin. Their data is dropped. The site and accesscontrol plugins move into core. PHP 7.4 or later is required. Plugins built for 1.5 do not load.

    Install or update (as root)

    A 1.6 beta or RC server: run bin/updatefog.sh --channel rc from your FOG checkout. A 1.5 server installed from git: update to the current 1.5 stable, then run bin/updatefog.sh --channel rc from the checkout. A new server, or a 1.5 server installed from a tarball:
    curl -fsSL https://raw.githubusercontent.com/FOGProject/fogproject/working-1.6/bin/bootstrap.sh | bash -s -- --channel rc

    Report problems

    Open an issue at https://github.com/FOGProject/fogproject/issues. Include your FOG version, your OS, and the installer log from bin/error_logs/. Report a security problem through “Report a vulnerability” on the same repository, not in a public issue.

  • View tutorials or talk about FOG in general.
    2k Topics
    19k Posts
    G

    @Tom-Elliott I figured it was more-so on the internal end of things that we had to take care. But, wanted to make sure. Thank you for your response!

  • Report bugs, request features, or get the latest progress.
    2k Topics
    21k Posts
    Tom ElliottT

    @delacroix fixparts went missing from FOS during a Buildroot update. The fix (fos#195) landed yesterday, and the first build with it is EXP_20261021-160109. I checked that release: /usr/sbin/fixparts is present in init.xz, init_32.xz, and arm_init.cpio.gz.

    Your debug task boots the init that your FOG server serves, not the one you downloaded. Put the new file in place on the server:

    cd /var/www/html/fog/service/ipxe mv init.xz init.xz.old wget https://github.com/FOGProject/fos/releases/download/EXP_20261021-160109/init.xz sha256sum init.xz

    The hash must match the init.xz.sha256 on the release page (it starts 8e3457ad4268add5). To check the content without a boot:

    xz -dc init.xz > /tmp/init.img debugfs -R "ls -l /usr/sbin" /tmp/init.img | grep fixparts

    Then run the capture again. If fixparts is in that listing and the capture still fails, please post the output of fixparts /dev/sdX (or /dev/nvme0n1) from a debug task.

65

Online

12.8k

Users

17.7k

Topics

157.3k

Posts