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

Problems after moving images-folder

Scheduled Pinned Locked Moved
General
2
8
2.4k
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.
  • P
    pmonstad
    last edited by Jun 20, 2014, 11:45 AM

    I have moved the image folder into the home folder. I have read the wiki which tells my I have to modify the config file found at /var/www/html/fog/commons/config.php

    I cannot find this file in FOG 1.1.1. I have done all other things described in the wiki. An image is uploaded but left inside the dev folder. I suppose one of the last bits it to move this one level up. Any suggestion about what is wrong?

    Running Centos 5.7 and latest svn version.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jun 20, 2014, 11:51 AM

      Then you’re not running FOG 1.1.1.

      Latest SVN Version? What is the exact version number?

      The SVN version config.php has been moved to /var/www/html/fog/lib/fog/Config.class.php

      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

      1 Reply Last reply Reply Quote 0
      • P
        pmonstad
        last edited by Jun 20, 2014, 1:13 PM

        Thanks! Could this file be updated automatically when the path in Storage group is altered?

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jun 20, 2014, 1:51 PM

          No, this cannot happen. Why?

          Because the values stored in Config.class.php or config.php dealing with all of that is only for the initial installation of fog. All they do is set the Database Values to defaults. Once the schema’s installed/updated, it doesn’t do anything more with those values. They’re basically pointless to have in the file at that point anymore.

          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

          1 Reply Last reply Reply Quote 0
          • P
            pmonstad
            last edited by Jun 20, 2014, 6:08 PM

            I see, but then I do not understand why an upload did not complete before I edited the config file and then made another upload. Possibly something other which went wrong then. Anyway, it works as expected now.

            1 Reply Last reply Reply Quote 0
            • P
              pmonstad
              last edited by Jun 23, 2014, 11:03 AM

              Sorry but I still have problems after changing the location of my images folder. I have moved the folder from /images to /home/images. I have then altered the /etc/exports so it looks like this:

              /home/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1,)
              /home/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2,)

              I have run the command exportfs -a and thanges the path in Storage Management. The image is uploaded to /images/dev folder as a folder with mac address. It contains three files: d1.mbr, d1pa.img and d1p2.img (a win 7 disk).

              The folder is owned by fog and permissions are set to 755.

              I need some help to trouble shoot this one. Running latest svn version 1889 on Centos 7.

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Jun 23, 2014, 11:07 AM

                Have you, by chance, tried restarting the nfs-kernel-server (or nfs if not debian system?)

                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

                1 Reply Last reply Reply Quote 0
                • P
                  pmonstad
                  last edited by Jun 23, 2014, 12:41 PM

                  Thanks Tom, a restart solved the problem.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    7/8
                    Last post

                  207

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project