SOLVED Upgrade stable 1.2.0 to trunk
i have a stable install in 1.2.0 and i would like to upgrade to trunk via GIT because i have some problems with Windows 10 imaging.
Is there an easy way to do this ? i read that link https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk but it’s only from fresh install.
I have more than 300 PCs in the database, about 10 images into a NFS and some snapins
I have already backup database, all the folders (/var/www/fog and /opt/fog). Do you have any tips/advices ?
yep it’s ok.
The problem was the nfs mount…via QNAP. FTP access was not right, it’s ok now.
The wiki may be able to help you.
i have changed the rights, the password on TFTP is correct…the .fogsettings is not modified.
i dont know where to look now
@raumin It’s owned by root:root and A-rw-r-r permissions on my end.
Make sure the password is also correct under FOG Settings on the WebGUI under TFTP server
Ok, it seems the webgui cannot modify the /opt/fog/.fogsettings
I removed this from the file:
And updated the webgui, these two lines are added but the user and pass is not written.
I manually wrote the user and pass but it doesnt work too…
.fogsettings is owned by fog:www-data and is 770. Is that correct ?
@raumin They should all have single quotes.
Enter the password on the storage node on the WebGUI again.
SOrry…i have a problem with the FTP, i can not deploy an image, i get this:
Failed to create deployment tasking for the following hosts Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 104, Message: ftp_login(): Login incorrect.
I try FTP on localhost, on my PC and i can connect, put files, get files etc.
The password is ok in .fogsetting but the simple quote or double quote is not clear for me, here the file:
## Created by the FOG Installer ## Version: 6523 ## Install time: Tue 20 Jan 2015 03:43:27 PM CET ipaddress="172.20.25.203"; interface="eth0"; routeraddress=" option routers 172.20.25.254;"; plainrouter="172.20.25.254"; dnsaddress=" option domain-name-servers 172.20.16.150; "; dnsbootimage="172.20.16.150"; password="password"; osid="2"; osname="Debian"; dodhcp="n"; bldhcp="0"; installtype="N"; snmysqluser="" snmysqlpass="password_mysql"; snmysqlhost=""; installlang="0"; donate="0"; fogupdateloaded="1" submask='' blexports='1' storageLocation='/images' storageftpuser="fog" storageftppass="password" docroot='/var/www/html/' webroot='fog/' caCreated='yes' startrange='' endrange='' bootfilename='undionly.kpxe' packages='apache2 php5 php5-json php5-gd php5-cli php5-curl mysql-server mysql-client tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php5-mcrypt php5-mysqlnd curl libc6 libcurl3 zlib1g php5-fpm libapache2-mod-php5' noTftpBuild='' notpxedefaultfile='' sslpath='/opt/fog/snapins/ssl/'
When do we put simple quote? Double quote? And the “;”? Why he is not on all lines ?
Everything seems to be perfect ! There is just a problem with nf and vsftp (upgrading from debian 7 to debian 8 before FOG).
Thank you !
Oh ok thank you, i try.
I made a backup just to be sure
@raumin You should not need to rename the old folders. The installer will do that if it finds “old stuff”.
@raumin As far as I know FOG installer will rename old folders itself, so no need for that.
It will ask you for mysql password (if any) during the installation yes.
ok thank you.
I forgot to tell you that FOG was installed with tar.gz file, so just to be sure:
- Backup everything
- Rename old folders
- start git sync, start ./installfog.sh and put credentials of the database?
I’d backup the images as well just in case.
After that follow the guide you posted, it will upgrade you to trunk.