Jump to content

ShivalWolf

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by ShivalWolf

  1. This script works quite well. I am running it with userscripts as a cron task to do ZFS snapshots.

    Thankyou for your efforts with it.

     

    Given the current way the script handles purging old snapshots based on the number of snapshots

    would it be possible to purge by age.

    eg. only keep snapshots less than 30 days old?

    I have been looking how i may do this alteration myself and found an easy way to get the creation time. so if its not something you have considered then fingers crossed

     

    >zfs list -t snapshot -p -o name,creation -s creation -r "${DATASET}"
    Returns Snapshot Name and the creation time (as a unix timestamp)

  2. 3 hours ago, nisbne said:

    hi all, ive been getting an error when i restart the docker when it does verson check, so i did a reinstall now i get this any idea how to correct?

     

    ---Version Check---
    ---FiveM not found, downloading!---
    wget: missing URL
    Usage: wget [OPTION]... ...

    Try `wget --help' for more options.
    tar: option requires an argument -- 'f'
    Try 'tar --help' or 'tar --usage' for more information.
    mv: cannot move '/serverdata/serverfiles/' to '/serverdata/fx.tar.xz-': Device or resource busy
    ---Prepare Server---
    ---Checking for old logs---
    ---Starting Server---
    Cannot exec '/serverdata/serverfiles/run.sh': No such file or directory

    So poking at this myself.

    If you try and wget https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/ it will 403 forbidden

    It looks like the artifacts server blocks the wget it could be because it is's now hosted behind cloudflare and they have some rather aggressive filtering for non humans going though. When i tried to visit in my regular browser i got the crowdstrike make sure your not a robot click though.

    a useragent change may fix this but not sure

     

     

     

     

  3. Just a suggestion to your plugin if you think it's worth including. It may help others with the random crash bug in Ryzen having the option in your plugin. Could you add an option to fix the Ryzen Gen 1 issue (Ryzen 3/5 1xxx series) that causes random lockups/freezes when the system goes into C6 state. The issue has plagued me for about 3 weeks now and i finally found a thread the other day about it.

     

    The fix is to put "/usr/local/sbin/zenstates --c6-disable" into the go file.

    But it seems the command just has to be run at any point after boot so i think a plugin should be able to do it.

     

×
×
  • Create New...