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

    Problem changing the upload directory

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    4
    1.1k
    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.
    • J
      John S.
      last edited by

      I installed ver 1.2.0.
      I’m trying to change the upload directory from /images to something else due to disk space issues.
      I tried changing Config.class.php and the storage configuration in the GUI.
      They didn’t seem to have any effect.
      When the client does the upload process, it write to the original /images/dev/nnnnn location.
      Any ideas?
      Thanks

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Check your /etc/exports file and when you make changes and save the /etc/exports, restart the nfs server per your system requirements.

        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
        • J
          John S.
          last edited by

          The new location exports ok.
          The problem appears to be that the upload location is hard coded.
          I sent a debug task to the pc and then looked at fog.upload.
          It looked like it had /images hardcoded.
          Did I read that right?
          Is that used during a real upload?
          Thanks for the response!!

          1 Reply Last reply Reply Quote 0
          • JunkhackerJ
            Junkhacker Developer
            last edited by

            the /images location that is hardcoded in fog.upload is just the name of where it has mounted the storage location to in fog.checkin

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

            218

            Online

            12.1k

            Users

            17.3k

            Topics

            155.3k

            Posts
            Copyright © 2012-2024 FOG Project