Subcategories

  • General Developer questions relating to FOG.
    389 Topics
    5k Posts
    Tom ElliottT

    @Paladin1 Thanks for the report. You’re right, the docs were out of date.

    The installer now asks Install/update the FOG database schema now? (Y/n) and does the schema update itself when you answer yes, which is the default. The browser step only applies if you answer no.

    The “Denied” you saw is expected on a new install. With no FOG users yet, the schema page only accepts the link the installer prints, which ends in &fogtoken=.... On an existing install, you log in as an admin instead.

    The install pages are updated for both versions:

    1.5: https://docs.fogproject.org/en/latest/1.5/installation/server/install-fog-server/ 1.6: https://docs.fogproject.org/en/latest/1.6/installation/server/install-fog-server/
  • Request a new feature to be implemented.
    637 Topics
    4k Posts
    Tom ElliottT

    @sgennadi Thanks, this is a good catch. The installer did not check PHP at all. The only check ran on the first web request, after the upgrade was already done.

    This is now fixed on dev-branch: https://github.com/FOGProject/fogproject/pull/2154

    After the packages install, and before FOG copies any file or touches the database, the installer now:

    stops if the PHP CLI is below FOG’s minimum (PHP 7.4). It reads that number from the FOG code it is installing, so it cannot drift. stops if no PHP-FPM of the same version as the CLI is installed. A third-party repository can give you a CLI of 8.5 and an FPM of 8.4, and the web UI runs on FPM. warns about a missing PHP extension that FOG uses.

    When it stops, your current install is unchanged. --skip-php-check lets you continue anyway.

    You get it with your next dev-branch update. The docs are here: https://docs.fogproject.org/1.6/installation/server/command-line-options

    If your login breaks again after an update, please post the output of php -v, php-fpm -v (or php-fpm8.x -v), and the last lines of the PHP-FPM error log. That tells us whether it is PHP or a bug in the new code.

  • Report a bug with FOG.
    1k Topics
    12k Posts
    Tom ElliottT

    @sgennadi Thanks for the report. The installer read lsb_release for a value that nothing used. That step is now removed on dev-branch (https://github.com/FOGProject/fogproject/pull/2124). Update to the latest dev-branch and the message is gone. You do not need EPEL or lsb_release for FOG.

53

Online

12.8k

Users

17.7k

Topics

157.5k

Posts