@tom-elliott Image Manager Partclone Gzip
I was confused about what to choose. Because as you can see in the screen shot that the compression for basic image is Partclone Compressed. So I just went into that image definition and saw the Gzip.
@tom-elliott Image Manager Partclone Gzip
I was confused about what to choose. Because as you can see in the screen shot that the compression for basic image is Partclone Compressed. So I just went into that image definition and saw the Gzip.
@jackiejack Imaging went through perfect. THANK YOU QUAZZ.
To recover deleted image:
*(Apparently when new image definition is created FOG may assign a different compression???)
Thanks to FOG devs for considering idiots like me!
@quazz Yess image number 4 is a newly created on pointing to the /images/MasterImage folder. What happened was that I thought the image FOLDER name was MasterImage1803. But when I checked I see only MasterImage.
HOLY CRAP I CHANGED THE COMPRESSION THING AND THE IMAGING SEEMS TO BE GOING THROUGH!
Will let you know once target boots up.
(I did deploy that image on a machine once so I know it took)
@sebastian-roth Will do first thing tomorrow.
A tall lad myself. Was so in a rush before lab closed Friday that I didn’t even think to sit down.
@tom-elliott Tom, it does exist. I mean 59 GB for my MasterImage
Only 2 images I captured. Basic and Master
@tom-elliott No well I went into FOG dashboard and deleted the image in the “usual” way.
Deploying didn’t go through. Partclone couldn’t find directory. Does not exist.
So I had deleted an image from FOG dashboard. But the storage usage on home page shows that the data must be there (in /images)
How can I put it back in my FOG server?
(My supervisor is going to KILL ME )
@jackiejack Reinstalled my centos 7 and did not tamper with anything. Fresh install of fog. Works perfect.
My adding repos and setting the priorities of them caused the confusion. Just let fog do its thing.
@jackiejack I disabled the yum priorities, config file enabled = 0 .
But now when I re run the script I get:
Backing up database … failed.
@sebastian-roth
Well what I did was install yum priorities and then install epel.
I put epel at a priority of 10 and CentOS-Base at a priority of 1.
I did not install remi repo.
What to do?
Run this command?
yum -y update php* --enablerepo=remi,remi-php56
Should I do a fresh OS install? I am not at the stage where I’m supposed to hit enter after updating database schema.
rpm -qa | grep php
php-ldap-5.4.16-45.el7.x86_64
php-mysqlnd-5.4.16-45.el7.x86_64
php-common-5.4.16-45.el7.x86_64
php-bcmath-5.4.16-45.el7.x86_64
php-mcrypt-5.4.16-7.el7.x86_64
php-gd-5.4.16-45.el7.x86_64
php-process-5.4.16-45.el7.x86_64
php-cli-5.4.16-45.el7.x86_64
php-fpm-5.4.16-45.el7.x86_64
php-pdo-5.4.16-45.el7.x86_64
php-5.4.16-45.el7.x86_64
php-mbstring-5.4.16-45.el7.x86_64
@quazz
First I reinstalled everything using Everything DVD CentOS. Ran yum update but still same error.
ls -lah /var/www/html/fog
total 372K
drwxr-xr-x. 11 apache apache 184 Jun 18 11:43 .
drwxr-xr-x. 3 root root 17 Jun 18 11:43 …
drwxr-xr-x. 2 apache apache 23 Jun 18 11:43 api
drwxr-xr-x. 2 apache apache 133 Jun 18 11:48 client
drwxr-xr-x. 2 apache apache 93 Jun 18 11:43 commons
-rw-r–r–. 1 apache apache 362K Jun 18 11:43 favicon.ico
lrwxrwxrwx. 1 apache apache 18 Jun 18 11:43 fog -> /var/www/html/fog/
drwxr-xr-x. 2 apache apache 125 Jun 18 11:43 fogdoc
-rw-r–r–. 1 apache apache 572 Jun 18 11:43 index.php
drwxr-xr-x. 13 apache apache 173 Jun 18 11:43 lib
drwxr-xr-x. 2 apache apache 86 Jun 18 11:43 maintenance
drwxr-xr-x. 10 apache apache 143 Jun 18 11:43 management
drwxr-xr-x. 3 apache apache 4.0K Jun 18 11:43 service
drwxr-xr-x. 2 apache apache 269 Jun 18 11:43 status
/var/www/fog has an index.php file
cat /var/log/php-fpm/www-error.log-20180617
[14-Jun-2018 18:28:23 UTC] PHP Parse error: syntax error, unexpected ‘&’ in /var/www/html/fog/commons/init.php on line 132
[14-Jun-2018 18:28:28 UTC] PHP Parse error: syntax error, unexpected ‘&’ in /var/www/html/fog/commons/init.php on line 132
[14-Jun-2018 19:11:33 UTC] PHP Parse error: syntax error, unexpected ‘&’ in /var/www/html/fog/commons/init.php on line 132