• Printer Snapin Error

    Unsolved
    5
    0 Votes
    5 Posts
    826 Views
    J

    @Joe-Gill glad you found a quick fix. I’ll keep this ticket open though, as it points to a deeper issue in the client: PrinterManager has a thread safety issue.

  • 0 Votes
    10 Posts
    3k Views
    S

    @irfan4701 @george1421 XFS support has been added years ago. FOG 1.4.4 should be able to properly capture and deploy XFS partitions. Though it cannot shrink it! So you only need to change from XFS to EXT4 if you want resizable images…

    See jdd49’s comment here:

    XFS
    Does not have the ability to shrink period. It can only grow. The only possible solution is to do a file backup using something like xfsdump, then recreate the filesystem. Or make the smallest partition possible when you first install, then grow after imaging.

  • Continuous Fog Storage Node Replication problem

    32
    0 Votes
    32 Posts
    5k Views
    M

    so… as an update…
    I stopped/disabled the fog replication service and used the same command as fog used to replicate the folder over from the fog images store to the synology images store.

    After this, imaging from the storage node works as desired.

    I’d really like to know how fog winds up pulling the Synology home page during the file compare… is it using http? what path is it trying to hit? I can set up a packet trace and try to find out, but I’m hoping someone can just chime in with the info.

  • FOG Issue

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    imagingmaster21I

    @wayne-workman Running that command fixed the issue.

  • Windows 10 1709 and Client 11.14

    Solved
    23
    0 Votes
    23 Posts
    5k Views
    x23piracyX

    Hi,

    in normal you don’t need any autologons, i just use it because i am working with windows 10 pro oem where you cannot have setupcomplete.cmd executed automatically, therefore i used the autologon stuff with first logon commands in my unattend.xml.

    If you don’t need to do anything special remove autologons in your unattend.xml

    Regards X23

  • GIT Update Failed

    Solved
    4
    0 Votes
    4 Posts
    612 Views
    J

    @sebastian-roth

    I ended up switching from the dev-branch to the working branch and re-ran the installer. Everything worked fine.

  • Forcing image sync

    Unsolved
    2
    0 Votes
    2 Posts
    558 Views
    Wayne WorkmanW

    @coxm Two questions:

    What version of fog is this? Is your master node on the same version as the storage nodes?
  • Storage Node Permission Denied

    Solved
    16
    0 Votes
    16 Posts
    3k Views
    george1421G

    @coxm Now that you have a working solution, I’ll tell you a bit easier way to go about this.

    If you know ahead of time you will keep the OS on a thin image and have the /images on a separate disk then before you install fog create the /images directory and mount your image storage disk over /images and finally install FOG. There will be nothing to change post installation. If you see you need to add the disk after fog is install there are a few more steps involved but that’s basically it.

    https://forums.fogproject.org/topic/11048/moving-fog-s-images-files-off-the-root-partition-2017-edition

  • Unable to connection TFTP.

    Solved
    10
    0 Votes
    10 Posts
    5k Views
    C

    If you don’t want to disable selinux (or set to permissive) I’ve had luck under CentOS 7 using the following command:

    $ sudo setsebool -P tftp_home_dir 1

    I thought I might expound a little. To test my Fog TFTP server, I used the TFTP client in Windows. If you would like to do the same, you need to permit TFTP through your Windows firewall.

    When I first tried to pull the undionly.kpxe file using the Windows client, I was given the following error:

    PS C:\Users\jarcher> tftp -i 172.19.1.30 GET undionly.kpxe Connect request failed

    Looking into my /var/log/audit/audit.log file I saw the following:

    $ sudo grep tftp /var/log/audit/audit.log ...lots of other stuff here... type=AVC msg=audit(1519225691.090:214): avc: denied { read } for pid=3164 comm="in.tftpd" name="undionly.kpxe" dev="dm-0" ino=34386610 scontext=system_u:system_r:tftpd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:default_t:s0 tclass=file ...also lots more here...

    if you use audit2allow you can get some hints on how to fix this error:

    $ sudo grep tftp /var/log/audit/audit.log | audit2allow -m tftpd module tftpd 1.0; require { type default_t; type tftpd_t; class file { getattr lock open read }; } #============= tftpd_t ============== #!!!! WARNING: 'default_t' is a base type. #!!!! This avc can be allowed using the boolean 'tftp_home_dir' allow tftpd_t default_t:file { getattr lock open read };

    Note, you might have to install the policycoreutils-python package to get audit2allow

    Now just run the original command I mentioned above to allow access to the files:

    $ sudo setsebool -P tftp_home_dir 1

    SELinux is still set to enforcing:

    $ sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Max kernel policy version: 28

    And now the TFTP transfer works in Windows:

    PS C:\Users\jarcher> tftp -i 172.19.1.30 GET undionly.kpxe Transfer successful: 95338 bytes in 1 second(s), 95338 bytes/s
  • Run script on the server immediately after multicast is done

    Unsolved
    3
    0 Votes
    3 Posts
    525 Views
    A

    @tom-elliott
    Thank you for your reply. I thought about this too but I’m a bit uncomfortable with modifying the FOG code. Plus, it would break if I upgrade.
    I got another idea yesterday, after writing this post. I was thinking about a script, that would run from cron, about every 10 minutes. It would check if udp-sender is running. If it isn’t, it would just exit. If it is, it would start monitoring the process and, when it finishes, it would launch my custom code.
    This would work if udp-sender runs only during multicast. I suppose this is the case. I don’t see any reason for it to run otherwise.
    How does this sound?

  • Running out of Space during Imaging

    2
    0 Votes
    2 Posts
    689 Views
    Wayne WorkmanW

    @julianh said in Running out of Space during Imaging:

    can I redirect the /images/dev to another disk?

    Yes, you can do that. But there are some other questions to ask to figure out why you are having these problems and if there are any obvious quick wins we can help you with:

    What is the output of df -h Output of lsblk Is this in a VM or a physical machine? Do you have more than one spare disk you can use for the FOG Server?
  • 0 Votes
    22 Posts
    5k Views
    G

    @sebastian-roth

    I just happen to be harvesting 1TB drives from workstations for server use. The 250GB drives I picked up for $10 each are adequate for the floor computers.

    Thank you for the firm point at cause.

  • It is possible to keep tmp file with snapin

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    L

    I’m testing your idea but the msi is very badly done ! 😞

  • Can't chainload past Fog menu (Boot hard drive) - HP zbook laptop

    Unsolved
    46
    0 Votes
    46 Posts
    14k Views
    S

    @szeraax Thanks for the update. It’s definitely an issue that we will be seeing more and more in the next month.

    Not because it is solved, but because I will just have to wait for a magical time in the future when FOG has support for booting NVMe hard drives decently.

    Unfortunately those things rarely solve themselves magically. People have to work on it. In this case having the hardware at hand seems to be very crucial as your findings reveal (same zbook model showing different behavior). By the way, have you checked firmware versions?
    So what I am trying to say is that it might need your work on testing these things on your devices to hopefully figure things out. But on the other hand I do understand that you/we don’t have the time and expertise to dig through this.

    Maybe try going back to using rEFInd plus adding the clover NVMe driver? As I understand it you should be able to add that driver by simply creating a directory drivers_x64 (EFI/boot/drivers_x64) and putting that clover driver EFI file there. rEFInd should scan that directory and load the driver.

    Not sure if we’d mark this solved.

  • Host does not join AD Domain

    Solved
    3
    0 Votes
    3 Posts
    655 Views
    B

    Of course - checked the logs and I had the user name or password in wrong in fog. Had to be easy. Thanks!

  • Multicast Wake on LAN with Fujitsu Lifebook E556

    Unsolved
    23
    0 Votes
    23 Posts
    7k Views
    D

    So I looked at the file with my wireshark at home (forbidden in office)
    There´s no data.

    I will set up a new fog from scratch and try to WOL the devices. I will report later.

  • Export images for a clients fog server

    Unsolved
    3
    0 Votes
    3 Posts
    906 Views
    T

    thanks Wayne. I will do this this weekend and if I need help post back here.

  • Image not syncing

    Solved
    3
    0 Votes
    3 Posts
    596 Views
    M

    @wayne-workman said in Image not syncing:

    As far as the “error contacting server” message, can you visit https://sourceforge.net/ at your work? If not, that’s probably why.

    I can access it on my network. I have perform below command in order to try and fix the syncing issue. Than I re-ran the fog installtion file to re-install. When I was checking the master fog storage under storage. I noticed password for the user fog was simply password and wasn’t matching the password in the .fogsettings file.

    sudo mv /opt/fog/.fogsettings /opt/fog/fogsettings-firstInstall
  • Changing host AD settings

    Unsolved
    3
    0 Votes
    3 Posts
    637 Views
    C

    Perfect! That worked a treat.

    In the interest of housekeeping, can I now delete that group? If so do I need to remove hosts first?

    Thanks,
    Matt

  • Cant access management portal

    Solved
    34
    0 Votes
    34 Posts
    15k Views
    C

    @sebastian-roth @Tom-Elliott
    Thank you both so much, through a combination of things I have it working. you guys ROCK!

    Thanks again!

135

Online

12.4k

Users

17.4k

Topics

155.9k

Posts