• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. WielandPP1
    3. Posts
    W
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    Posts

    Recent Best Controversial
    • [1.6.0-beta.5547] Uploading Snapin fails with 500

      I just started digging in to fog to modernise our fleet management, so bare with me if I made some crucial first mistake.
      I am running fog on a baremetal server on a fresh Linux-Mint 22.3.
      I access the webinterface using https and the hostname of the component.
      I updated the php.ini in /etc/php/8.4 to allow for longer script time (90seconds) and updated the post_max_size to 8000M.
      c3458ced-f4af-453c-a902-b0aec5d5dbc7-grafik.png

      The Upload seems to be running fine. The bar in the webUI fills up. After a while it will get give me a toast that fog-server returned a
      6cc305a0-e138-4845-93a1-819829d8eff8-grafik.png
      7ca182c1-5a5a-4f80-816e-39dfb55ce70b-grafik.png

      In /var/log/apache2 I can finde the following error:

      [Fri Oct 23 14:52:09.786443 2026] [proxy_fcgi:error] [pid 10818:tid 10818] [client 10.10.0.191:62070] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function FOG\\Net\\ssh2_connect() in /var/www/html/fog/src/Net/FOGSSH.php:234\nStack trace:\n#0 /var/www/html/fog/src/Items/Snapin.php(506): FOG\\Net\\FOGSSH->connect()\n#1 /var/www/html/fog/src/Pages/SnapinManagement.php(663): FOG\\Items\\Snapin::uploadAndCreate()\n#2 /var/www/html/fog/src/Base/FOGPageManager.php(234): FOG\\Pages\\SnapinManagement->addPost()\n#3 /var/www/html/fog/management/index.php(223): FOG\\Base\\FOGPageManager->render()\n#4 {main}\n  thrown in /var/www/html/fog/src/Net/FOGSSH.php on line 234', referer: https://lagerlurch/fog/management/index.php?node=snapin&sub=add
      

      I could only find an older thread about php 8 not being supported. Is that an issue of PHP 8 not being supported but used anyway? Is there a way of forcing fog to user another php version? (The /etc/php folder does contain more subfolders with diferent versions so they seem to be available?)

      Looking forward to feedback.

      posted in FOG Problems
      W
      WielandPP1
    • 1 / 1