everything installed. But management page not displaying correctly.



  • Server
    • FOG Version: 1.2
    • OS: Ubuntu 16.4
    Client ?
    • Service Version:
    • OS: win7
    Description

    hi i have managed to get Fog running after a very steep learning curve!! LOL. Dont even know linux so im quite chuffed. Fog installed all OK, but the management console isnt displaying correctly. It seems like its displaying code lines…?? and not the management screen.

    Since i had installed the latest versions of ubuntu I installed PHP7.0 manually and edited the config.sh file and replaced the "php"with “php 7.0”

    Any ideas? Many thanks. Mohammed

    Server
    • FOG Version:
    • OS:
    Client
    • Service Version:
    • OS:
    Description
    Server
    • FOG Version: 1.2
    • OS: Ubuntu 16.4
    Client ?
    • Service Version:
    • OS: win7
    Description

    hi i have managed to get Fog running after a very steep learning curve!! LOL. Dont even know linux so im quite chuffed. Fog installed all OK, but the management console isnt displaying correctly. It seems like its displaying code lines…?? and not the management screen.

    Since i had installed the latest versions of ubuntu I installed PHP7.0 manually and edited the config.sh file and replaced the "php"with “php 7.0”

    Any ideas? Many thanks. Mohammed


  • Moderator

    @george1421 said in everything installed. But management page not displaying correctly.:

    the installer now uses the right php install sequences and the command line variables are not needed when the installer is called?

    Correct. It just works now without anything special.


  • Moderator

    @Wayne-Workman Just for clarity the installer now uses the right php install sequences and the command line variables are not needed when the installer is called? The pages still reference using the command line switches.


  • Moderator

    @george1421 said in everything installed. But management page not displaying correctly.:

    Create a new system, install 16.04 (or 14.04) then install the 1.3.0-RCx version of FOG.

    I concur as well. Nuke and repave.

    • Install Ubuntu 16, tell the installer to delete existing content/OS.
    • When that’s done and booted, open terminal, type sudo -i and provide the password.
    • Update and then Install git with apt-get update -y && apt-get install git -y
    • Clone fog with git clone https://github.com/FOGProject/fogproject.git /root/fogproject
    • Go to the fogproject/bin directory with cd /root/fogproject/bin
    • Start the installer with ./installfog.sh and follow onscreen instructions.

    This is all you need to do.
    If you have problems about the above steps, post here. If you’re successful and have other questions and problems, make a new thread about it please.



  • @george1421 Thank you. I will re-attempt this monday now. Have a good weekend.


  • Moderator

    @pencils said in everything installed. But management page not displaying correctly.:

    @george1421 sorry george, not a linux guy.

    First to answer your question you need to be in the mysql tool. You will probably want to run this command mysql -u root There should be no password on the database since you are root. Once you are at the mysql command prompt then you can use the alter user command.

    Second, you are not a linux guy and you are manually installing bits of fog. My intuition is telling me you have a botched install. I will repeat my recommendation (especially if you are doing this in a vm). Create a new system, install 16.04 (or 14.04) then install the 1.3.0-RCx version of FOG. You will have less issues with Ubuntu, plus with 1.3.x series you will get support for the latest hardware, gpt disk format, NVMe disk, Win10 support, faster speed, new features, and brighter teeth and fresh breath ;-)



  • @george1421 sorry george, not a linux guy. Do i need to be in SQL or something?

    Its ran the first command…so unsure when to run that command.


  • Moderator

    @pencils FYI: That is a mysql/mariadb command. You should be using the mysql command line tool.



  • ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘’;

    That command in the WIKI isnt being recognised on my ubuntu? ALTER…? Do i need to be in a particular DIR?


  • Senior Developer

    I don’t understand why you manually edited the config.sh file.

    Ubuntu 16.04 was your install point, which automatically installs PHP 7 for you. Why did you have to edite the config.sh file? Did you install fog previously and then upgraded Ubuntu?



  • i get when running that command Module php7.0 does not exist.

    I re-ran the command apt-get install php7.0. It reported there was nothing to upgrade/install or remove.


  • Senior Developer

    This seems, to me, to indicate PHP has failed to be enabled for your installation.

    You could try:
    sudo a2enmod php7.0


  • Moderator

    I think you would be better served if you install FOG 1.3.0-RCx series which supports Ubuntu 16.04.

    There is some guidance on installing FOG 1.3.x on Ubuntu 16.04 this is required since Ubuntu change this release greatly from 14.04. https://wiki.fogproject.org/wiki/index.php?title=Ubuntu_16.04_Server


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.