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

    Fog on Proxmox ?

    Scheduled Pinned Locked Moved
    General Problems
    proxmox virtual machine
    5
    15
    5.2k
    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.
    • S
      Smoblikat @Sebastian Roth
      last edited by Smoblikat

      @sebastian-roth I have fog containers running in proxmox, IIRC the issues are mostly related to apparmor profiles and ubuntu. I need to allow specifically allow NFS permissions on a per VM (container) basis in the config file, ive tested with Ubuntu 16.04, 18.04, and currently running 20.04. I think most of this is documented in my internal wiki, I can provide more information if needed.

      B 1 Reply Last reply Reply Quote 1
      • B
        Bristow 0 @Smoblikat
        last edited by

        Hello @smoblikat

        I couldn’t get FOG to work in an LXC container, I’m still coming across a server NFS problem.
        Here is the error in the FOG install logs:

         * Setting up and starting NFS Server..........................Failed!
        
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        !! The installer was not able to run all the way to the end as   !!
        !! something has caused it to fail. The following few lines are  !!
        !! from the error log file which might help us figure out what's !!
        !! wrong. Please add this information when reporting an error.   !!
        !! As well you might want to take a look at the full error log   !!
        !! in /root/fogproject-1.5.9/bin/error_logs/fog_error_1.5.9.log !!
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        
        Dec 18 15:35:31 fogserver systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
        Failed to enable unit: Unit file nfs.service does not exist.
        Failed to stop nfs.service: Unit nfs.service not loaded.
        Failed to start nfs.service: Unit nfs.service not found.
        Unit nfs.service could not be found.
        
        

        I found a few tips on the forums but none of them worked. I’m trying to install FOG 1.5.9 on Proxmox 6.3-2 and Debian 10.

        What do you recommend? I’m a bit disappointed 😞
        Thanks for your answers and happy holidays.

        H 1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @bristow-0 said in Fog on Proxmox ?:

          I found a few tips on the forums but none of them worked.

          Please tell us more about what exactly you have tried so far. It’s way easier for us to help you when we know what you tried so far and what outcome it had.

          Not sure why you say you are disappointed. This is an open forum where people try to help in their free time and nothing to count on like a paid support (which is usually not as responsive as we are but anyway).

          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

          B 1 Reply Last reply Reply Quote 0
          • B
            Bristow 0 @Sebastian Roth
            last edited by

            @sebastian-roth

            No problem regarding my disappointment. I am especially sorry that I didn’t succeed like a great one 🙂

            I know many open source projects and I contribute to some of them: PeerTube, OpenStreetMap. I’m very happy to have discovered Fog and to have been able to quickly clone posts and 1 classe. I work in a French school with limited IT resources.

            So, to answer your question, I followed a tutorial from the forum.

            I started to disable apparmor on my container with :

             Edit the container configuration file and add the line lxc.aa_profile: unconfined.
             On Proxmox the configuration file is located at /etc/pve/lxc/CTID.conf, where CTID is the ID number of the container.
            

            and I restarted container and the script but not better.

            Then I did step 2 of this page: https://wiki.fogproject.org/wiki/index.php?title=Installation#LXC but no better.

            I also tried to enable NFS in the options. Anyway, I think I did everything but I wonder if I did some things wrong.

            So, what do you advise me for FOG on Proxmox 6.3-2? Maybe I’ll have to start from scratch… and focus on one action, but which one? and how do you know if the NFS server is running without having to restart the script?

            Thanks for your help!

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth

              @Bristow-0 What I get from a search on the web (don’t use Proxmox myself currently) the changes to apparmor were needed in Proxmox version 5 but version 6 seems to be a different story again.

              The very last post on this topic in the Proxmox forums says that you can create the container a different way and it should work: https://forum.proxmox.com/threads/is-it-possible-to-run-a-nfs-server-within-a-lxc.24403/page-2 (I have not tested this and have no idea if it’s correct or not)
              Similar information here: https://forum.proxmox.com/threads/proxmox-6-privileged-lxc-container-all-processes-are-inactive.67337/

              @Smoblikat Which version of Porxmox do you use?

              @jburleson Are you still around and using Proxmox? Maybe there is an update to your topic: https://forums.fogproject.org/topic/7978/fog-in-lxc-container-how-to-configure-nfs-server

              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

              B 1 Reply Last reply Reply Quote 1
              • B
                Bristow 0 @Sebastian Roth
                last edited by

                @sebastian-roth

                Finally, I dropped LXC in Proxmox 6 and used a KVM-based VM to virtualize my Fog server.

                It works perfectly as it is.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @Bristow-0 We just had someone report that it might be possible to do using LXC container using certain options: https://forums.fogproject.org/post/140339

                  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

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    Bristow 0 @Sebastian Roth
                    last edited by

                    @sebastian-roth Too late 😞 it doesn’t matter 🙂

                    1 Reply Last reply Reply Quote 0
                    • H
                      Huecuva @Bristow 0
                      last edited by

                      @bristow-0 I’m running FOG 1.5.9 in a Buster 10 VM on Proxmox 6.1-3 and it’s mostly working fine. I imagine a significantly newer version of Proxmox wouldn’t have any issues. I was able to register and capture an imagine from a Ryzen 7 3700X machine. I’m just having issues booting my HTPC from ipxe for some reason I can’t figure out.

                      george1421G 1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @Huecuva
                        last edited by

                        @huecuva said in Fog on Proxmox ?:

                        I’m just having issues booting my HTPC from ipxe for some reason I can’t figure out.

                        Please start a new thread so we can discuss

                        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!

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

                        154

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project