@Sebastian-Roth the package ist called
php7.0-mcrypt
but the problem still exists after installing.
I’m working on a fresh install in parallel, so I think I won’t touch this one anymore. Thanks so far!
@Sebastian-Roth the package ist called
php7.0-mcrypt
but the problem still exists after installing.
I’m working on a fresh install in parallel, so I think I won’t touch this one anymore. Thanks so far!
@Wayne-Workman Well, without setting a password it didn’t work at all, and the apache logs don’t show authentification problems as far as I can see…
@Tom-Elliott Thanks for the quick reply. I tried your first suggestion, which seems to install php7.0 just fine. However, I am facing another problem now. The installer stops at ‘Updating Database’:
* Resetting SSL Permissions...................................OK
* Setting up SSL FOG Server...................................OK
* Restarting Apache2 for fog vhost............................OK
* Changing permissions on apache log files....................OK
* Backing up database.........................................OK
* Updating Database...........................................Failed!
This is the Error Log:
0_1460446291738_fog_error_7142.log
UPDATE:
The ‘-y’ option was the problem, because it didn’t ask for the MySQL Password. Without the option we did the following:
Follow the installer to the point where it asks for the MySQL-Password
Manually set the root password via MySQL
Enter the password in the FOG installation process
Now we’re stuck at Updating the database. When we click ‘Update’ in the web management, it leads to an Error 500.
Apache Log:
[Tue Apr 12 10:53:43.790626 2016] [mpm_prefork:notice] [pid 31869] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Tue Apr 12 10:53:43.854389 2016] [core:notice] [pid 31869] AH00094: Command line: '/usr/sbin/apache2'
[Tue Apr 12 10:54:38.980451 2016] [:error] [pid 31875] [client 192.168.0.139:54785] PHP Fatal error: Uncaught Error: Call to a member function save() on null in /var/www/fog/lib/pages/schemaupdaterpage.class.php:51\nStack trace:\n#0 /var/www/fog/lib/fog/fogpagemanager.class.php(73): SchemaUpdaterPage->index_post()\n#1 /var/www/fog/management/index.php(24): FOGPageManager->render()\n#2 {main}\n thrown in /var/www/fog/lib/pages/schemaupdaterpage.class.php on line 51, referer: http://192.168.0.60/fog/management/?node=schemaupdater
PHP Info File:
0_1460451784179_phpinfo.html
Any ideas?
Hi,
I’m trying to install FOG Git on an Ubuntu 16.04 Xenial Xerus Server.
php5 seems to be no longer supported by Ubuntu, the Repo has actually been deleted - so the FOG installation ends with
Installing package: php5.....Failed!
In another thread I read that FOG is able to handle php7, so is there a way to install it without using php5?
@Tom-Elliott
Edit: a2enmod still sais that Module mcrypt wouldn’t exist
dpkg-query -l mcrypt
and
dpkg-query -l php5-mcrypt
said it wan’t installed. i used
apt-get install mcrypt
, but the problem still exists. I also tried
apt-get install php5-mcrypt
, but it doesn’t find the package…
root@FOGSERVER:~# a2enmod php5-mcrypt
ERROR: Module php5-mcrypt does not exist!
root@FOGSERVER:~# a2enmod mcrypt
ERROR: Module mcrypt does not exist!
Do I have to install php5-mcrypt?
Hi,
I recently upgraded FOG from 1.2 to the Git Version (7100). the Database upgrade worked fine.
Now, when I click a Host in the Hosts-List, I’m getting an HTTP 500 Error, even on newly registered Hosts.
It’s running on Ubuntu Server Xenial Xerus.
Any ideas?
EDIT: Apache2 Error.log
[Thu Apr 07 10:37:56.758840 2016] [:error] [pid 1720] [client XX.XX.XX.XX:xxxx] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/html/fog/lib/fog/fogbase.class.php on line 406, referer: http://fogserver/fog/management/index.php?node=host&sub=list