• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

"Install/update your database schema" URL just goes to normal FOG UI

Scheduled Pinned Locked Moved Solved
General
2
3
5.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mr626
    last edited by mr626 May 3, 2016, 5:06 PM May 3, 2016, 10:56 PM

    Hi all,

    This happens every now and then when I update to a newer version of Fog. In this case today I updated from 7332 to 7476

    Steps I follow:

    1. Download the latest trunk via
    svn checkout https://svn.code.sf.net/p/freeghost/code/trunk
    
    1. Run the installer
    /home/svn/trunk/bin# ./installfog.sh
    

    Everything does fine with the installer, until I get to this stage

    * You still need to install/update your database schema.
    * This can be done by opening a web browser and going to:
    
     http://my ip/fog/management
    
    * Press [Enter] key when database is updated/installed.
    

    When I browse to that URL in my browser, I just get the normal FOG login screen. Clearing browser cache or using a different browser doesn’t make any difference. To complete the installer I just press enter anyway, and FOG still seems to work (although I do find I need to manually reset the password of the FOG unix user).

    Any thoughts as to why this would happen? Of the 10 or so times I’ve updated from svn, I would estimate only 3-4 of those times I’ve actually had the correct ‘update database’ screen show up in the browser when I go to the URL directed in the install script. Or maybe it is by design, and I’m not seeing that page as nothing has changed in the database / schema?

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by May 3, 2016, 11:07 PM

      Remember, schema updates will only show schema page if needed. Going to the URL when there isn’t an update will just present you with a login screen, in which case you can simply return back to the installer and press enter.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      M 1 Reply Last reply May 3, 2016, 11:22 PM Reply Quote 0
      • M
        mr626 @Tom Elliott
        last edited by mr626 May 3, 2016, 5:48 PM May 3, 2016, 11:22 PM

        @Tom-Elliott

        Thanks Tom, I figured that might be the case I just wanted to double check.

        Probably not a huge priority, but would it be worth adding something to the install script that checks to see if any schema changes are needed, and if not the step about going to the URL to update it is skipped? Or at the very least, add a notice to the step that confirms that going to the URL and not seeing a schema update page is by design if there are no updates, and that you can just continue on with the installer.

        1 Reply Last reply Reply Quote 2
        • L LLamaPie referenced this topic on May 18, 2023, 1:16 PM
        • 1 / 1
        1 / 1
        • First post
          2/3
          Last post

        146

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project