SOLVED Installing builds 4714 or 4716 to Debian 8.2

  • @ Press [Enter} key when database is updated/installed
    – Browser visit http://x.x.x.x/fog/management

    The page returned is 404.

    p.s. It’s also interesting to see:

    systemd-fstab-generator: Failed to create mount unit file /run/systemd/generator/images.mount, as it already exists . Duplicate entry in /etc/fstab?

    … spitting out on the console window; I’m remoting in via shell and separately watching the vm during installation. Yes I already mounted /images before beginning the fog install.

  • By build 4728, it is fixed. Ty!

  • Ah, aye.

    Working from home today for kicks, and of course, a couple of minutes turns into a couple of hours.

    I keep copies of VMs of the simplest forms of install of Ubuntu15, Debian8 and CentOS7 handy for testing. My development server is a stewing pot of changes. I usually test on my dev, then refer back to the virgins in case something goes pear-shape and to verify my documentation/scripts.

    I’ve decided to amalgamate and silo some procedures a bit … so I’m rebuilding my reference virgin OS VMs. I will get back to you asap.

  • Senior Developer

    @sudburr I understood/stand what you mean. What I’m saying is I fixed something and hopefully that fix will fix this issue, but it will only work on another fresh install.

  • That WAS on a fresh install . I’ll get back to ya in a couple.

  • Senior Developer


    The problem was, as normal, me overlooking one little thing. The DocumentRoot on your files is set to /var/www, but the webdirdest is set to /var/www/html.

    This is now corrected for in SVN/GIT but to truly see if it works you would need to setup as if it were a brand new install.

    Sorry about the oversight.

  • Re-edited my reply above.

  • Senior Developer

    Can you get me the documentroot line out of the 001-fog.conf file?

  • The file “/etc/apache2/sites-available/001-fog.conf” has:

    <VirtualHost *:80>
        DocumentRoot /var/www/
        #RewriteEngine On
        #RewriteRule /management/other/ca.cert.der$ - [L]
        #RewriteRule /management/ https://%{HTTP_HOST}%{REQUEST_URI}%{QUERY_STRING} [R,L]
    <VirtualHost *:443>
        DocumentRoot /var/www/
        SSLEngine On
        SSLCertificateFile /var/www/html/fog/management/other/ssl/srvpublic.crt
        SSLCertificateKeyFile /opt/fog/snapins/ssl/.srvprivate.key
        SSLCertificateChainFile /var/www/html/fog/management/other/ca.cert.der
  • Senior Developer

    What’s set in the /etc/apache2/sites-availabe/001-fog.conf file for the DocumentRoot lines?

  • Aye

    root@debian8fog:/opt/trunksvn/fogproject/bin# cd /var/www/html/fog
    root@debian8fog:/var/www/html/fog# ls -la
    total 48
    drwxr-xr-x 10 www-data www-data 4096 Sep 20 11:47 .
    drwxr-xr-x  3 root     root     4096 Sep 20 11:47 ..
    drwxr-xr-x  2 www-data www-data 4096 Sep 20 11:47 client
    drwxr-xr-x  2 www-data www-data 4096 Sep 20 11:47 commons
    -rw-r--r--  1 www-data www-data 1406 Sep 20 11:47 favicon.ico
    lrwxrwxrwx  1 www-data www-data   17 Sep 20 11:47 fog -> /var/www/html/fog
    drwxr-xr-x  2 www-data www-data 4096 Sep 20 11:47 fogdoc
    -rw-r--r--  1 www-data www-data   50 Sep 20 11:47 index.php
    drwxr-xr-x 11 www-data www-data 4096 Sep 20 11:47 lib
    drwxr-xr-x 12 www-data www-data 4096 Sep 20 11:47 management
    drwxr-xr-x  3 www-data www-data 4096 Sep 20 11:47 mobile
    drwxr-xr-x  3 www-data www-data 4096 Sep 20 11:47 service
    drwxr-xr-x  2 www-data www-data 4096 Sep 20 11:47 status

    And no errors displayed during installation.

  • Moderator

    @sudburr Hi, have you your fog installation in /var/www/html/fog ?