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

Transferring database and .fogsettings

Scheduled Pinned Locked Moved Unsolved
FOG Problems
2
3
159
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
    MarkG
    last edited by Jan 6, 2025, 12:39 PM

    I think I might have done something stupid…

    I have a new server on which I have already installed FOG.
    Today I wanted to transfer the database from my old server to the new server and update the version of FOG.

    I thought I was being clever… before transferring the database and running the FOG installer, I edited /opt/fog/.fogsettings on my new server and inserted the passwords, copied from the management interface on the old server:

    username='fogproject'
    password='password from old server'
    
    snmysqluser='fogmaster'
    snmysqlpass='password from old server'
    

    Then having run the installer it occurred to me, does the installer update all the necessary services to use these passwords, if FOG is already installed? Or have I broken something - and if so, how do I fix it?

    A 1 Reply Last reply Jan 6, 2025, 1:19 PM Reply Quote 0
    • A
      AUTH IT Center @MarkG
      last edited by Jan 6, 2025, 1:19 PM

      @MarkG Hello and happy new year.

      First of all, I hope you have taken backup the database and files from the old server. Everything you need for the migration are documented in https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG

      M 1 Reply Last reply Jan 6, 2025, 3:55 PM Reply Quote 1
      • M
        MarkG @AUTH IT Center
        last edited by Jan 6, 2025, 3:55 PM

        @AUTH-IT-Center Hi thanks for the reply.

        Yes I’ve read that link, my problem is that I’ve done the password migrations “backwards” - ie I’ve copied the passwords from the database to .fogsettings instead of the other way around as specified on that link.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post

        224

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project