• Coding a shortcut Webview/Problem with the API

    11
    0 Votes
    11 Posts
    8k Views
    S

    I changed the code to PHP and now it works, so I think it was something security related from the browser.

  • Fedora 37 added to installation tests

    2
    0 Votes
    2 Posts
    3k Views
    S

    @Wayne-Workman Great, thanks for your work in this!

  • Include partclone 3.20?

    36
    1 Votes
    36 Posts
    28k Views
    F

    @george1421 Not much but… I did a little testing at home. 4 different machines, HP Laptop hackintoshed (all drives, non resizable, Other OS) (one SSD NTFS the other APFS), 2 gaming PCs (win 10 single drive all partitions resizable), A 2018 mac mini all boot security turned off.

    And… and !!! I finally migrated, well actually, I made a new FOG server from scratch using only the ltsc.conf from the previous FOG server . I installed Ubuntu Server 22.04.1 fresh in Virtual Station on a NAS, (QNAP TS-451+), latest dev branch with the new inits built in, and was able to capture and deploy from/to 4 home computers no problem. I wish I still had older images and more things to test with.

    I love this NAS especially since it was given to me. I dropped in 16GB of RAM (from 2) and got cray stupid -configuring all the drives in a RAID 0 stripe, hey I live on the edge😂 , I can’t believe this thing is running a couple VMs no problem on that Celeron CPU.

  • Enable or disable SPECULATION_MITIGATIONS in the Linux kernel

    4
    0 Votes
    4 Posts
    6k Views
    S

    Forgot to say that I turned SPECULATION_MITIGATIONS on in the current default kernels some days after my last post because there wasn’t any feedback from people testing those kernels.

  • Alma 9, RHEL 9, Fedora 36, Ubuntu 22.04 added to daily tests

    7
    0 Votes
    7 Posts
    4k Views
    S

    @Wayne-Workman Thanks!

  • /opt/fog/.fogsettings MySQL user can't make changes

    4
    0 Votes
    4 Posts
    1k Views
    D

    @sebastian-roth
    Update I was able to make progress by fixing up the code per-say. I think the OP of the code (ch3i) wrote up something from memory and not from actual tests, and possibly update or make note of any changes in syntax as programs update.

    For instance, hostname --fqdn gives an error “hostname: unrecognized option ‘–fqdn’ BusyBox v1.31.1” so I changed to ‘hostname -f’.

    I was able to get pass the original MySQL errors using your advice, and using the fogstorage account instead. Running both scripts on ubuntu still stops without reason at “checking hostname/domain configurations”. When I run it on FOG (As a postdownloadscript), and it runs after cloning the image,it stops at :
    “Check Mysql Configuration: Done
    Check FOG Mysql Database Status: Done
    Checking hostname/domain configurations *Rebooting system as task is completed”
    Reboot: restarting system

    but upon reboot, I have the same hostname I myself set prior to capturing the image. Fog has a different hostname set to the MAC that I never changed, so if the script worked my hostname should reflect what FOG has.

    IT never makes it to the next part which should say “updating /etc/hostname” nor saying “Done” or “host not found in fog database”. So I am thinking it’s stuck at these lines:

    ######################################################### # Get interfaces ######################################################### NETWORK_CARDS=($(ls /sys/class/net | grep eth)) ######################################################### # Get host name and domain from FoG database ######################################################### FUNC_DOTS "Checking hostname/domain configurations" for ETH in ${NETWORK_CARDS[*]} do # read mac address MAC=$(cat /sys/class/net/$ETH/address) # get mac address information from fog web server wget http://$FOG_SERVER/$FOG_WEBROOT/service/hostname.php?mac=$MAC -O /tmp/hostname_check 2>/dev/null HOST_NAME="$(grep 'ok=' /tmp/hostname_check | cut -d "=" -f2)" HOST_DOMAIN_NAME="$(grep 'ADDom' /tmp/hostname_check | cut -d "=" -f2)" if [ "$HOST_NAME" != "" ] then echo "Done ($HOST_NAME.$HOST_DOMAIN_NAME)" sleep 3 # A hostname is found - quit the loop break else echo "Error" FUNC_DOTS "Host not found in FOG database" echo "exiting" sleep 3 exit fi done

    Final Update
    I got it to work!
    As first mentioned, I had to update the syntax as it’s been over 7 years since the code was written by OP (ch3i). The update that crashed the above code was :

    NETWORK_CARDS=($(ls /sys/class/net | grep eth))

    To get it to work I swapped it to :

    NETWORK_CARDS=($(ls /sys/class/net ))

    I learned thru google there was a change (systemd?) that made ls /sys/class/net not use ETH anymore, rather showing something like “enp0s31f6” which is the same as ETH0, but showing the exact location. The code was looking for ETH so just removing that line fixed it.

    Now that it works, I feel I can turn the code into a snap-in or post-download script.

  • Change FOG Client language

    3
    0 Votes
    3 Posts
    1k Views
    D

    @Sebastian-Roth Thank you!

    I did what you suggested (stopped FOG services on client, moved \pl folder to other place and restarted the PC) and after that FOG Client become english-speaking.

    English notifications look a way better than with mixed languages.

  • Full spec screen before injecting image

    1
    0 Votes
    1 Posts
    453 Views
    No one has replied
  • Thank you!

    1
    7 Votes
    1 Posts
    485 Views
    No one has replied
  • Debian has surpassed Ubuntu

    1
    1 Votes
    1 Posts
    694 Views
    No one has replied
  • FOG External Reporting

    19
    0 Votes
    19 Posts
    6k Views
    Wayne WorkmanW

    The count on working branch and dev-branch as of today is 718 fog servers.

  • [Feedback Requested] Adding kernel info to FOG Reporting

    11
    0 Votes
    11 Posts
    4k Views
    Wayne WorkmanW

    Putting a bow-tie on this thread: This feature is complete. Link to the external reporting is in my signature, the kernels in use are beginning to show up, these figures will increase and show a bigger picture over time.

  • Control Access plugin

    Solved
    17
    2 Votes
    17 Posts
    12k Views
    G

    @fernando-gietz Hello,

    I would like to know about the “Searches: Limit the range of the search to the resources of one or more locations. The restricted user only can see the hosts, groups, images that are link or associated to his/her location/locations.”

    How is it possible to do it? In the Location plugin, we can only put informations about Storage.

  • working-1.6 Ubuntu 18 & 20 potential issue - March 28, 2022

    1
    0 Votes
    1 Posts
    624 Views
    No one has replied
  • PHP 8 support

    10
    1 Votes
    10 Posts
    5k Views
    S

    @Fog_Newb Awesome! Thanks for testing 1.5.9.138. This was meant to fix another issue reported on github but looks like the same problem in the code was causing the issue you saw.

    Please keep an eye open and try as many things as you can (capture/deploy, fog-client, maybe plugins).

  • Fedora 35 & FOG

    9
    0 Votes
    9 Posts
    3k Views
    Wayne WorkmanW

    I see Fedora 35 tests are now passing on dev-branch as well as working-1.6.

  • Error building FOS

    9
    0 Votes
    9 Posts
    4k Views
    S

    @peirkern Sorry for the delay. I have tried to think about what could cause this new error you see but still have not found a good answer to this yet. I checked logs of a good compile on one of my servers and don’t see this error:

    linux-5.10.83.tar.xz: OK (sha256: ef259a43f33ddb56001283f4f4e50af29b8a48fa066aed7371a90ebf38c29b70) ESC[7m>>> linux-headers 5.10.83 ExtractingESC[27m xzcat /var/lib/.../fssourcex64/dl/linux/linux-5.10.83.tar.xz | tar --strip-components=1 -C /var/lib/.../fssourcex64/output/build/linux-headers-5.10.83 -xf - ESC[7m>>> linux-headers 5.10.83 PatchingESC[27m ESC[7m>>> linux-headers 5.10.83 ConfiguringESC[27m ...

    I can only suggest you start playing with the commands within docker and see what happens:

    mkdir ~/test xzcat /home/builder/fos/fssourcex64/dl/linux/linux-5.10.83.tar.xz | tar --strip-components=1 -C ~/test -xf -
  • Debian 11

    3
    0 Votes
    3 Posts
    1k Views
    Wayne WorkmanW

    It appears to be fixed. Great work @Sebastian-Roth

  • Removed from tests: RHEL 7, CentOS 8

    1
    1 Votes
    1 Posts
    491 Views
    No one has replied
  • External Reporting & Testing - usage

    1
    0 Votes
    1 Posts
    538 Views
    No one has replied

78

Online

12.8k

Users

17.7k

Topics

157.3k

Posts