Jump to content

Hanky

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Hanky

  1. Hello all!

     

    I'm struggling with my Frigate docker disappearing from my dockers/crashing randomly. 

    Also after reboot the docker is not there, and I have to manually re add it from the list. 

    Used to run it on CPU+Nvidia for a while. Was thinking it might be the CPU - Got a TPU, problem still persists. 

     

    Is this common? I have not found anyone mentioning this behaviour whilst searching for a solution. 

    Is it possible to make a script for re-adding the docker when it disappears? 

     

    Initially it used to disappear when setting up first time. 

     

      GNU nano 7.0                                                                                                                                                                                                                                                                                         config.yml                                                                                                                                                                                                                                                                                         Modified  
    #  input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1
    #  output_args:
    #    detect: -f rawvideo -pix_fmt yuv420p
    #    record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
    #    rtmp: -c copy -f flv
    
    #      - -c:v
    #      - hevc_cuvid
    
    detectors:
      coral:
        type: edgetpu
        device: usb
    
    #  cpu1:
    #    type: cpu
    
    birdseye:
      # Optional: Enable birdseye view (default: shown below)
      enabled: True
      # Optional: Width of the output resolution (default: shown below)
      width: 1920
      # Optional: Height of the output resolution (default: shown below)
      height: 1080
      # Optional: Encoding quality of the mpeg1 feed (default: shown below)
      # 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
      quality: 8
      # Optional: Mode of the view. Available options are: objects, motion, and continuous
      #   objects - cameras are included if they have had a tracked object within the last 30 seconds
      #   motion - cameras are included if motion was detected in the last 30 seconds
      #   continuous - all cameras are included always
      mode: continuous
      
    cameras:
      terrace: # <------ Name the camera
        ffmpeg:
          inputs:
            - path: rtsp://192.168.10.41:554/s0 # <----- Update for your camera
              roles:
                - detect
                - rtmp
        rtmp:
          enabled: true # <-- RTMP should be disabled if your stream is not H264
        detect:
          width: 1920 # <---- update for your camera's resolution
          height: 1080 # <---- update for your camera's resolution
          fps: 10
          stationary:
            max_frames:
              objects:
                person: 100
        objects:
          track:
            - person
            - dog
    
        snapshots:
          enabled: true
          timestamp: true
          bounding_box: true
          crop: true
          height: 500
          retain:
            default: 14
        record:
          enabled: true
          retain:
            days: 7
            mode: all
          events:
            retain:
              default: 14
              mode: motion
            pre_capture: 5
            post_capture: 15
    
      driveway: # <------ Name the camera
        ffmpeg:
          inputs:
            - path: rtsp://****te:M*****[email protected]:554/Streaming/Channels/101 # <----- Update for your camera
              roles:
                - detect
                - rtmp
        rtmp:
          enabled: true # <-- RTMP should be disabled if your stream is not H264
        detect:
          width: 1920 # <---- update for your camera's resolution
          height: 1080 # <---- update for your camera's resolution
          fps: 10
          stationary:
            max_frames:
              objects:
                person: 100
    
        objects:
          track:
            - person
            - dog
        motion:
          mask:
            - 480,0,433,81,509,183,459,208,414,172,325,191,323,263,0,333,0,125,0,0
            - 546,237,531,174,584,109,631,90,687,81,741,176
        zones:
          entrance:
            coordinates: 1751,80,1680,651,1540,1080,1152,1080,1298,625,531,174
        snapshots:
          enabled: true
          timestamp: true
          bounding_box: true
          crop: true
          height: 500
          retain:
            default: 14
        record:
          enabled: true
          retain:
            days: 7
            mode: all
          events:
            retain:
              default: 14
              mode: motion
            pre_capture: 5
            post_capture: 15

     

  2. 3 minutes ago, bearcat2004 said:

    Hey everyone, 

    This morning I was also having a problem with an 'Incompatible version' of client & server for a Valheim world I'm hosting for some friends. 

    I opened a shell for the docker, navigated to the /serverdata/steamcmd/ folder, and executed the ./steamcmd.sh script to try and troubleshoot. I had made a new Steam account just for dedicated servers, and set validate to 'true' in the docker setup. 
    When I tried to update the Valheim server with the command app_update 896660, it gave me some kind of error about not having the 'rights to the software' or something. So then I logged in as anonymous and ran the command again, and the server software updated to the proper version. Then I removed the account info from the docker tab in Unraid. 

     

    I restarted the docker, and my world had been erased. It was clearly the same world 'seed', as the landscape was identical and I still had the map info in my game client, but all the structures my friends and I made had vanished.

    I expanded a backup with tar -xzvf from 4am this morning (thanks again for implementing this, ich777), and pasted the contents into the /mnt/user/appdata/valheim/.config/unity3d/IronGate/Valheim/ folder, and my server worked again. 

     

    I hope this is helpful for anyone else who can't get their server to update. Seems that steamcmd doesn't like certain accounts to update this software.

     

     

    Fixed it for me ❤️ Didnt erase though!

    • Like 1
  3. 10 minutes ago, ich777 said:

    Then it should be updated, sometimes SteamCMD is a little "special".

    You have to try it again.

    What version does it tell in the in game server list?

     

    EDIT: Have you already tried to connect to it through the Steam Server Browser?

    0.143.5 

    Not tried through browser as I can see it in server list, but it tells me the version missmatch.

    EDIT: Same in the browser.

     

  4. 7 hours ago, ich777 said:

    Please read the description of the container.

     

    To update simply restart the container, if that doesn't work set the Variable 'Validate' to 'true' without quotes so that it validates the files and pulls the new update (please delete true after the update was successful since it will always validate the game files and the startup takes longer).

    Can't seem to get mine to update. Also removed the docker and readded but it keeps saying success. 

    ---Checking if UID: 99 matches user---
    ---Checking if GID: 100 matches user---
    ---Setting umask to 000---
    ---Checking for optional scripts---
    ---No optional script found, continuing---
    ---Starting...---
    ---Update SteamCMD---
    Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
    [ 0%] Checking for available updates...
    [----] Verifying installation...
    Steam Console Client (c) Valve Corporation
    -- type 'quit' to exit --
    Loading Steam API...OK.
    Logging in user 'USERNAME' to Steam Public ...
    Logged in OK
    Waiting for user info...OK
    ---Update Server---
    ---Validating installation---
    Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
    [ 0%] Checking for available updates...
    [----] Verifying installation...
    Steam Console Client (c) Valve Corporation
    -- type 'quit' to exit --
    Loading Steam API...OK.
    Logging in user 'USERNAME' to Steam Public ...
    Logged in OK
    Waiting for user info...OK
    Update state (0x5) verifying install, progress: 12.26 (7340032 / 59862244)
    Success! App '896660' fully installed.
    ---Prepare Server---
    ---Server ready---
    ---Starting Backup daemon---
    ---Start Server---
    CAppInfoCacheReadFromDiskThread took 1 milliseconds to initialize
    CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
    RecordSteamInterfaceCreation (PID 71): SteamGameServer012 / GameServer
    RecordSteamInterfaceCreation (PID 71): SteamUtils009 / Utils
    Setting breakpad minidump AppID = 892970
    RecordSteamInterfaceCreation (PID 71): SteamGameServer012 / GameServer
    RecordSteamInterfaceCreation (PID 71): SteamUtils009 / Utils
    RecordSteamInterfaceCreation (PID 71): SteamNetworking005 / Networking
    RecordSteamInterfaceCreation (PID 71): SteamGameServerStats001 / GameServerStats
    RecordSteamInterfaceCreation (PID 71): STEAMHTTP_INTERFACE_VERSION002 / HTTP
    RecordSteamInterfaceCreation (PID 71): STEAMINVENTORY_INTERFACE_V002 / Inventory
    RecordSteamInterfaceCreation (PID 71): STEAMUGC_INTERFACE_VERSION010 / UGC

×
×
  • Create New...