This is actually a suggestion I had meant to bring up earlier. I briefly tested it but removed the config because I was unsure of compatibility but a redirect in the apache config to /fog might be worth while so a directory doesn’t need to be specified at all. Via either RedirectMatch or RewriteRule. I just don’t know what this will do to systems that have the client with /fog already hardcoded.
Posts
-
RE: directory listings enabled in fog-installationposted in FOG Problems
-
RE: Failed upgrade to latest 1.5.7.xxxposted in FOG Problems
fogadmin@fogimaging:~$ ls -al /var/www && ls -al /var/www/html total 16 drwxr-xr-x 4 root root 4096 Feb 13 10:53 . drwxr-xr-x 14 root root 4096 Sep 11 2017 .. drwxr-xr-x 10 www-data www-data 4096 Feb 13 11:04 fog drwxr-xr-x 2 root root 4096 Sep 11 2017 html total 20 drwxr-xr-x 2 root root 4096 Sep 11 2017 . drwxr-xr-x 4 root root 4096 Feb 13 10:53 .. lrwxrwxrwx 1 root root 13 Sep 11 2017 fog -> /var/www/fog/ -rw-r--r-- 1 root root 10701 Sep 11 2017 index.html -
RE: Failed upgrade to latest 1.5.7.xxxposted in FOG Problems
I haven’t rolled back. I migrated out of this instance and am just keeping it around in case there is an issue I haven’t seen with my migrated system and to help with this. I will run these tomorrow and share the output
-
RE: Failed upgrade to latest 1.5.7.xxxposted in FOG Problems
Installation looks good until the very end.
End of the log is:
* Setting up and starting NFS Server..........................OK * Ensuring node username and passwords match..................<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Login</title><link href="../management/css/animate.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/font-awesome.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/jquery-ui.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/jquery-ui.theme.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/jquery-ui.structure.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/jquery-ui-timepicker-addon.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/select2.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/bootstrap.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/bootstrap-theme.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/theme.bootstrap_3.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/theme.blue.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/bootstrap-dialog.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/default/fog.css?ver=134" rel="stylesheet" type="text/css"/><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/></head><body><nav class="navbar navbar-inverse navbar-fixed-top"><div class="container-fluid"><div class="navbar-header"><button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse"><span class="sr-only">Toggle Navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button></div><div class="collapse navbar-collapse"><ul class="nav navbar-nav"><a class="navbar-brand" href="../management/index.php?node=home"><b>FOG</b> Project</a></ul></div></div></nav><div class="container-fluid dashboard"><div class="form-signin"><form class="form-horizontal" method="post" action="?node=home"><h3 class="form-signin-heading text-center"><span class="col-xs-1"><img src="../favicon.ico" class="logoimg" alt="Open Source Computer Cloning Solution"/></span>FOG Project</h3><hr/><div class="form-group"><label class="control-label col-md-2" for="uname">Username</label><div class="col-md-10"><input type="text" class="form-control" name="uname" required="" autofocus="" id="uname"/></div></div><div class="form-group"><label class="control-label col-md-2" for="upass">Password</label><div class="col-md-10"><input type="password" class="form-control" name="upass" required="" id="upass"/></div></div><div class="form-group"><label class="control-label col-md-2" for="ulang">Language</label><div class="col-md-10"><select class="form-control" name="ulang" id="ulang"><option value="中国的">中国的</option><option value="English" selected>English</option><option value="Español">Español</option><option value="Français">Français</option><option value="Deutsch">Deutsch</option><option value="Italiano">Italiano</option><option value="Português">Português</option></select></div></div><div class="form-group"><div class="col-md-offset-2 col-md-10"><button class="btn btn-default btn-block" type="submit" name="login">Login</button></div></div></form><hr/><div class="row"><div class="form-group"><div id="login-form-info"><p>Estimated FOG Sites: <b><i class="icon fa fa-circle-o-notch fa-spin fa-fw"></i></b></p><p>Latest Version: <b><i class="icon fa fa-circle-o-notch fa-spin fa-fw"></i></b></p><p>Latest Development Version: <b><i class="icon fa fa-circle-o-notch fa-spin fa-fw"></i></b></p></div></div></div></div></div><div class="collapse navbar-collapse"><footer class="footer"><nav class="navbar navbar-inverse navbar-fixed-bottom"><div class="container-fluid"><ul class="nav navbar-nav"><li><a href="https://wiki.fogproject.org/wiki/index.php?title=Credits">Credits</a></li><li><a href="?node=client">FOG Client</a></li><li><a href="https://www.paypal.com/cgi-bin/webscr?item_name=Donation+to+FOG+-+A+Free+Cloning+Solution&cmd=_donations&business=fogproject.org@gmail.com" target="_blank">Donate to FOG</a></li></ul></div></nav></footer></div><script src="js/jquery-latest.min.js?ver=134" type="text/javascript"></script><script src="js/jquery.validate.min.js?ver=134" type="text/javascript"></script><script src="js/additional-methods.min.js?ver=134" type="text/javascript"></script><script src="js/jquery.tablesorter.combined.js?ver=134" type="text/javascript"></script><script src="js/select2.min.js?ver=134" type="text/javascript"></script><script src="js/jquery-migrate-latest.min.js?ver=134" type="text/javascript"></script><script src="js/jquery.progressbar.js?ver=134" type="text/javascript"></script><script src="js/jquery.tmpl.js?ver=134" type="text/javascript"></script><script src="js/jquery.placeholder.js?ver=134" type="text/javascript"></script><script src="js/jquery-ui.min.js?ver=134" type="text/javascript"></script><script src="js/flot/jquery.flot.js?ver=134" type="text/javascript"></script><script src="js/flot/jquery.flot.time.js?ver=134" type="text/javascript"></script><script src="js/flot/jquery.flot.pie.js?ver=134" type="text/javascript"></script><script src="js/flot/jquery.flot.JUMlib.js?ver=134" type="text/javascript"></script><script src="js/flot/jquery.flot.gantt.js?ver=134" type="text/javascript"></script><script src="js/jquery-ui-timepicker-addon.js?ver=134" type="text/javascript"></script><script src="js/bootstrap.min.js?ver=134" type="text/javascript"></script><script src="js/bootstrap-dialog.min.js?ver=134" type="text/javascript"></script><script src="js/fog/fog.js?ver=134" type="text/javascript"></script><script src="js/jscolor.min.js?ver=134" type="text/javascript"></script><script src="js/fog/fog.login.js?ver=134" type="text/javascript"></script><!-- Memory Usage: 2.00 MiB--><!-- Memory Peak: 1.54 MiB--></body></html>Done * Setup complete You can now login to the FOG Management Portal using the information listed below. The login information is only if this is the first install. This can be done by opening a web browser and going to: https://x.x.x.x/fog/management Default User Information Username: fog Password: password -
RE: Unable to update kernelposted in FOG Problems
Looked through the guide and everything matched, it was just the tftp server password that was wrong.
-
RE: Unable to update kernelposted in FOG Problems
I was able to ftp into it. I’ll try to delploy later.
-
RE: Unable to update kernelposted in FOG Problems
haha. No. Too early & haven’t finished coffee. I just replaced the password in configuration with the one from .fogsettings. That fixed my kernel download issue. I was able to deploy an image yesterday with the mismatched passwords but I haven’t tried to capture one.
-
Unable to update kernelposted in FOG Problems
When trying to update kernel on 1.5.7.104 I get the following error:
Type: 2, File: /var/www/fog/lib/fog/fogftp.class.php, Line: 464, Message: ftp_login(): Login incorrect., Host: 10.10.70.4, Username: fogproject
-
RE: LDAP Pluginposted in Bug Reports
It was a fresh install but I migrated my DB from my old install before enabling ldap which originated at 1.5.0 RCX upgrading up to current.
-
RE: Failed upgrade to latest 1.5.7.xxxposted in FOG Problems
I just checked and unfortunately I don’t have a snapshot post install. I had rolled back to have a working version for when I did the migration to the clean install on 18.04. If i can capture the machine and put it in a sandbox at some point I can start it back up and run the installer again. That might be a while though.
-
RE: Failed upgrade to latest 1.5.7.xxxposted in FOG Problems
I still have that VM in my backups so I can take a look. Hopefully I didn’t revert it before I migrated. Do you have a particular log you would want to see? I can pull any file out of the backups.
-
RE: LDAP Pluginposted in Bug Reports
I’ve only ever used 636 and running into this is the first time i’ve ever seen 686. It more sparked my interest considering its different on the pane to create the LDAP connection than it is to edit the ldap making me think it was a typo on one or the other.
-
RE: HTTPS Apache Configposted in Feature Request
To have:
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1 SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384added to the virtual host automatically when the ./installfog.sh -S is run just like
SSLEngine on SSLCertificateFile /path/to/signed_cert_and_intermediate_certs SSLCertificateKeyFile /path/to/private_keyis automatically added. I guess this is less a bug than a feature request geared toward security
I opened this up in github, but was posting it here to have a wider discussion for those that don’t visit github.
-
HTTPS Apache Configposted in Feature Request
The apache config currently accepts tls 1.0 and 1.1 which should be disabled to meet current standards. tls 1.2 should be the only accepted protocol.
-
LDAP Pluginposted in Bug Reports
FOG Version: Dev Branch 1.5.7.104
I don’t know who developed the LDAP plugin so I will just post this here. When you go to set up a new LDAP connection the dropdown for the port number has 389 and 686. This should be 636. It is correct on the page where you edit existing connections. This means you need to create it with 389 and then update that to 636 after creation
-
RE: Failed upgrade to latest 1.5.7.xxxposted in FOG Problems
deb-branch works when i migrated to a clean 18.04 install. I have a feeling my upgrade from 16.04 to 18.04 left something behind that I’m not finding.
-
RE: Migrate PM to VM 1.2.0posted in FOG Problems
I know this thread is old but I am following the guide now and have a question.
I am in the process of building a new host. On my old host I have SSL setup (./installfog.sh -S). Do I set up the new machine with SSL and replace the certs with the one from the old machine? following the se instructions: https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#Maintain_Control_Of_Hosts_When_Building_New_Server
Thanks
Nevermind I got it all sorted. Just wanted to make a note that the wiki needs to be update to reflect that the user that needs to be added and given permissions is now fogproject rather than fog
