Jump to content

MiniMoe

Members
  • Posts

    48
  • Joined

  • Last visited

Posts posted by MiniMoe

  1. 2 hours ago, ich777 said:

    Nope, this is just the LXC plugin itself which enables you to run LXC containers on Unraid.

    ย 

    The repository mentions how to install it in a LXC container, granted that itโ€˜s missing that you first have to install git.


    However this thing from the git repository should maybe also run in a Docker container but I havenโ€˜t looked into what this repository does.

    I saw it was a plug-in after I posted this, can confirm it works with the instructions on the page with an arch linux host, I might try my hand at making it a docker but I donโ€™t know much about docker other than installing them ๐Ÿ˜‚

    • Like 1
  2. 11 minutes ago, ich777 said:

    Nope. I usually avoid those kind of shooters. ๐Ÿ˜…

    ย 

    I donโ€˜t know what that is nor do I own one of these games, at least I think I donโ€˜t own one of the games.

    Fair enough, maybe someone whoโ€™s up to the task will come along and set it up. Might give it a shot myself, no idea how to do it though!

    • Like 1
  3. I've installed EMU deck in this containerย and mounted an SSD to /mnt/games. I also installed emudeck to the same drive. I can run all my other emulators, but the PS2 one fails to launch from the script that's set up.

    [default@SteamHeadless ~]$ /mnt/games/emudeck/Emulation/tools/launchers/pcsx2-qt.sh
    /mnt/games/emudeck/Emulation/tools/launchers/pcsx2-qt.sh: 2: source: not found
    /mnt/games/emudeck/Emulation/tools/launchers/pcsx2-qt.sh: 3: rclone_downloadEmu: not found
    /mnt/games/emudeck/Emulation/tools/launchers/pcsx2-qt.sh: 11: [[: not found
    /mnt/games/emudeck/Emulation/tools/launchers/pcsx2-qt.sh: 23: Bad substitution


    Launching the appimage from the command line works, but launching from steam fails immediately. Is there anything I can do/change to get this working?

    ย 

    I also have no audio, in steam link or moonlight/sunshine.ย 
    ย 

    any help would be appreciated:)

  4. I'm trying to get privoxy working with prowlarr but having some problems. I've enabled it in qbittorrent and the log shows it starting.ย 

    ย 

    When I try to enable it in prowlarr I get this error

    ย 

    Failed to test proxy: An error occurred while sending the request.

    ย 

    Am I missing something? I use airvpn (with openvpn), not really sure what I need to do with the forwarded port.

  5. 1 hour ago, ich777 said:

    Prefill says that it detected LANCache and shows that it is downloading?

    You should also see some activity on the share where you actually downloading the game to from time to time (this is caused by Linux caching), also check your Cache, maybe the share is set to Yes and that's why you don't see anything on the Array.

    ย 

    I would also recommend that you maybe put the cache folder on a device outside of your Array, maybe through UD since I don't think that you need a Parity protected game mirror. :)

    (This will maybe also speed up writes and reads)

    It did not work, once it got to 100% it began retrying.

    ย 

    I'll try again tomorrow, for now just using lancache without prefill.

  6. 3 minutes ago, ich777 said:

    Prefill says that it detected LANCache and shows that it is downloading?

    You should also see some activity on the share where you actually downloading the game to from time to time (this is caused by Linux caching), also check your Cache, maybe the share is set to Yes and that's why you don't see anything on the Array.

    ย 

    I would also recommend that you maybe put the cache folder on a device outside of your Array, maybe through UD since I don't think that you need a Parity protected game mirror. :)

    (This will maybe also speed up writes and reads)

    The logs show downloading with a % number, I can see data writing to the array aswell (but plex is also in use right now). I'm hopeful its working, but I'll not know until a check again tomorrow and try to install black ops 3.

    ย 

    The share is definitely set to write to only the array!

    ย 

    I wish I could add a UD but I'm all out of drive trays! Its on my list of things to get, but for now it'll need to go on the array.

    ย 

    ย 

    • Like 1
  7. 4 minutes ago, ich777 said:

    This is looking good and should fill you lancache.

    I'm going to leave it overnight and see if it works. Problem with running scheduled is that it downloads Black Ops 3, it'll take hours to see if it actually works or not since my DL speed isn't great.

    ย 

    I'll report back tomorrow, maybe it's just a problem with running it manually..

    ย 

    Edit: there are files populating in a ".cache" directory, so maybe it is working as expected, just doesnt work manual.

  8. 16 minutes ago, ich777 said:

    I would recommend that you stop your LANCache Monolithic and LANCache DNS container, after that delete the contents from the cache and the logs folder including hidden files, then start both containers back again and after that start a scheduled prefill and attach to the access.log with tail like mentioned before.

    ย 

    Access log output:

    ย 

    [steam] 192.168.0.246 / - - - [30/Nov/2022:20:39:43 +0000] "GET /depot/311211/chunk/038620b80a02a28ba63425a5c469126bebc84cd0 HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache2-sto2.steamcontent.com" "-"
    [steam] 192.168.0.246 / - - - [30/Nov/2022:20:39:43 +0000] "GET /depot/311211/chunk/0c1ed2844985fc71eb927f403bb81faeed4d42b2 HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache2-sto2.steamcontent.com" "-"
    [steam] 192.168.0.246 / - - - [30/Nov/2022:20:39:44 +0000] "GET /depot/311211/chunk/1438c6231105f91a298096ed6235c69daeadd38a HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache2-sto2.steamcontent.com" "-"
    [steam] 192.168.0.246 / - - - [30/Nov/2022:20:39:44 +0000] "GET /depot/311211/chunk/149de2481725418654f3b9c537958fee32032cfd HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache2-sto2.steamcontent.com" "-"
    [steam] 192.168.0.246 / - - - [30/Nov/2022:20:39:44 +0000] "GET /depot/311211/chunk/1253ceaa87363418793f5b9953e6974086c6e411 HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache2-sto2.steamcontent.com" "-"
    [steam] 192.168.0.246 / - - - [30/Nov/2022:20:39:44 +0000] "GET /depot/311211/chunk/1772ad762d704e6bfc14dc913130365ffe595d59 HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache2-sto2.steamcontent.com" "-"
    [steam] 192.168.0.246 / - - - [30/Nov/2022:20:39:44 +0000] "GET /depot/311211/chunk/1908a6776dff4c04a8e1fe7bd1be8c1af7eb15a0 HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache2-sto2.steamcontent.com" "-"
    [steam] 192.168.0.246 / - - - [30/Nov/2022:20:39:44 +0000] "GET /depot/311211/chunk/1e49257947b8771ad1bc8da6db952cc1dbecee81 HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache2-sto2.steamcontent.com" "-"
    [steam] 192.168.0.246 / - - - [30/Nov/2022:20:39:44 +0000] "GET /depot/311211/chunk/06d8d4fb4f5c8fc9d0c306fbcf6d7dcebe75f2b2 HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache2-sto2.steamcontent.com" "-"
    [steam] 192.168.0.246 / - - - [30/Nov/2022:20:39:44 +0000] "GET /depot/311211/chunk/14f6f8f70aa18691619af3c57f70f18ed8a115b3 HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache2-sto2.steamcontent.com" "-"

    ย 

  9. 1 minute ago, ich777 said:

    I would recommend that you set the cache to /mnt/user/lancache/cache since this is the default folder structure for lancache but it should not harm anything in your case.

    I've set the pre-fill container to /mnt/user/lancache/cache/ which essentially does the same thing, I think! Docker directory mappings always trip me up.

  10. 2 minutes ago, ich777 said:

    I would recommend that you stop your LANCache Monolithic and LANCache DNS container, after that delete the contents from the cache and the logs folder including hidden files, then start both containers back again and after that start a scheduled prefill and attach to the access.log with tail like mentioned before.

    Doing this now.. will update soon.

    ย 

    3 minutes ago, ich777 said:

    Please also post screenshots from your LANCache templates, to what is your appdata share set in terms of Use Cache in the Share settings?

    Attached images, the lancache share is not set to use my cache drive, it writes straight to the array.

    lancache6.png

    lancache5.png

  11. 14 minutes ago, ich777 said:

    What does the access.log say from your LANCache Monolithic container when the prefill is running and displaying that it is downloading?

    Trying to check, having a weird problem now - I've cleared out the lancache directory to start fresh, I started the Monolothic container to find the empty log files:

    ย 

    root@Rocinante:/mnt/user/lancache/logs# ls -la
    total 0
    drwxr-xr-x 1 nobody users 140 Nov 30 20:10 ./
    drwxrwx--- 1 nobody users 115 Nov 30 20:10 ../
    -rw-r--r-- 1 nobody users   0 Nov 30 20:10 access.log
    -rw-r--r-- 1 nobody users   0 Nov 30 20:10 error.log
    -rw-r--r-- 1 nobody users   0 Nov 30 20:10 stream-access.log
    -rw-r--r-- 1 nobody users   0 Nov 30 20:10 stream-error.log
    -rw-r--r-- 1 nobody users   0 Nov 30 20:10 upstream-error.log

    ย 

    But AFTER starting the pre-fill container, the directory is full of fuse_hidden files:

    I think it's a non issue relating to this.

    ย 

    root@Rocinante:/mnt/user/lancache/logs# ls -la
    total 0
    drwxrwx--- 1 nobody users 210 Nov 30 20:10 ./
    drwxrwx--- 1 nobody users 142 Nov 30 20:10 ../
    -rwxrwx--- 0 nobody users   0 Nov 30 20:10 .fuse_hidden0085c2bf0000de5a*
    -rwxrwx--- 0 nobody users   0 Nov 30 20:10 .fuse_hidden0085c2c00000de5b*
    -rwxrwx--- 0 nobody users   0 Nov 30 20:10 .fuse_hidden0085c2c10000de5e*
    -rwxrwx--- 0 nobody users   0 Nov 30 20:10 .fuse_hidden0085c2c20000de5c*
    -rwxrwx--- 0 nobody users   0 Nov 30 20:10 .fuse_hidden0085c2c30000de5d*

    ย 

    I can cat the .fuse_hidden file to get this, which I think is from the access log;

    ย 

    2022/11/30 20:14:16 [crit] 1812#1812: *7354 open() "/data/cache/cache/10/21/20b396b0e7a89c7b3b3978049b8f2110.0000001836" failed (13: Permission denied) while reading upstream, client: 192.168.0.246, server: , request: "GET /depot/1/chunk/2799e572ee6e8c0bd2c35f3a01678b71ec33cd52 HTTP/1.1", upstream: "http://127.0.0.1:3128/depot/1/chunk/2799e572ee6e8c0bd2c35f3a01678b71ec33cd52", host: "cache9-iad1.steamcontent.com"
    2022/11/30 20:14:16 [crit] 1830#1830: *7366 open() "/data/cache/cache/29/aa/30dcaf42f506b11a1bf853a0b2d1aa29.0000001837" failed (13: Permission denied) while reading upstream, client: 192.168.0.246, server: , request: "GET /depot/1/chunk/14366cf2e0aace27ca10a6fdc71a42c18c83c7cb HTTP/1.1", upstream: "http://127.0.0.1:3128/depot/1/chunk/14366cf2e0aace27ca10a6fdc71a42c18c83c7cb", host: "cache9-iad1.steamcontent.com"
    2022/11/30 20:14:16 [crit] 1813#1813: *7358 open() "/data/cache/cache/04/5f/58ec91e19b4ecb1611396315bbbc5f04.0000001838" failed (13: Permission denied) while reading upstream, client: 192.168.0.246, server: , request: "GET /depot/1/chunk/c4d06de785ad7e026da3688189d4e5cfcc18c618 HTTP/1.1", upstream: "http://127.0.0.1:3128/depot/1/chunk/c4d06de785ad7e026da3688189d4e5cfcc18c618", host: "cache9-iad1.steamcontent.com"
    2022/11/30 20:14:16 [crit] 1927#1927: *7370 open() "/data/cache/cache/d2/c8/de1fe6cc7b747c13378bf4ada218c8d2.0000001839" failed (13: Permission denied) while reading upstream, client: 192.168.0.246, server: , request: "GET /depot/1/chunk/e4acddff51c74e5eb142ad462755c80396294a44 HTTP/1.1", upstream: "http://127.0.0.1:3128/depot/1/chunk/e4acddff51c74e5eb142ad462755c80396294a44", host: "cache9-iad1.steamcontent.com"
    2022/11/30 20:14:16 [crit] 1811#1811: *7362 open() "/data/cache/cache/c3/7c/4977b242bf0b680af4445c7dcee57cc3.0000001840" failed (13: Permission denied) while reading upstream, client: 192.168.0.246, server: , request: "GET /depot/1/chunk/0ea5b21250f3d04fe124dd5b6cd585c6db6b2b2a HTTP/1.1", upstream: "http://127.0.0.1:3128/depot/1/chunk/0ea5b21250f3d04fe124dd5b6cd585c6db6b2b2a", host: "cache9-iad1.steamcontent.com"
    2022/11/30 20:14:16 [crit] 1927#1927: *7374 open() "/data/cache/cache/52/6a/70879240dbee5f893745a3305fff6a52.0000001841" failed (13: Permission denied) while reading upstream, client: 192.168.0.246, server: , request: "GET /depot/1/chunk/39365c55d7817a06d8551f16e0aabe84dfa1c9f4 HTTP/1.1", upstream: "http://127.0.0.1:3128/depot/1/chunk/39365c55d7817a06d8551f16e0aabe84dfa1c9f4", host: "cache9-iad1.steamcontent.com"
    2022/11/30 20:14:16 [crit] 1830#1830: *7382 open() "/data/cache/cache/ec/73/e2814063368afa8009eabb41a08673ec.0000001842" failed (13: Permission denied) while reading upstream, client: 192.168.0.246, server: , request: "GET /depot/1/chunk/0bcb4eb1508c349b710dcaac9e7ab1ffca8cadff HTTP/1.1", upstream: "http://127.0.0.1:3128/depot/1/chunk/0bcb4eb1508c349b710dcaac9e7ab1ffca8cadff", host: "cache9-iad1.steamcontent.com"

    ย 

    There are permission errors in here though.

    ย 

    EDIT: I think the below is from the access.log

    ย 

    [steam] 192.168.0.246 / - - - [30/Nov/2022:20:17:04 +0000] "GET /depot/1/chunk/a0470dbc0b988f75d2ae75e4021f86a84a1df127 HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache3-par1.steamcontent.com" "-"

    ย 

  12. 3 minutes ago, ich777 said:

    Wait, what cache directory from Prefill?

    The prefill container fills your LANCache Monolithic container over night or whatever cron schedule you set...

    The share I set the data to cache to, when running lancache manually (without pre-fill, caching from manually downloading a steam game on my PC) - it does not populate with anything when running the pre-fill.

  13. 8 minutes ago, ich777 said:

    I don't usually force a sync or do a manual sync because it just works in my case and let cron do it's job. :D

    The logs are only written if a cron job is run or you force the sync on container start.

    Set the job, here's the output.

    ย 

    ---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 cron---
    ---Taking ownership of data...---
    ---Starting...---
    ---SteamPrefill enabled!---
    ---Version Check!---
    ---SteamPrefill v1.8.1 up-to-date---
    ---Prepare Server---
    
    Your cron schedule for SteamPrefill is: 50 19 * * *
    
    ---Container fully started, waiting for next cron job to start!---
    
    [2022-11-30] Starting SteamPrefill
    [7:50:02 PM] Starting login!
    Connecting to Steam...
    Logging into Steam...
    [7:50:04 PM] Logged into Steam
    Saving Steam session...
    Retrieving owned apps...
    [7:50:04 PM] Steam session initialization complete!
    Retrieving latest App metadata...
    
    [7:50:06 PM] Starting Call of Duty: Black Ops III
     Getting available CDN Servers... 
    Fetching depot manifests...
       An unexpected error (System.Threading.Tasks.TaskCanceledException) occurred 
    while downloading manifests.  Retrying...
    [7:50:52 PM] Downloading 140.52 GiB
    Detecting Lancache server...
    [7:50:52 PM] Detected Lancache server at lancache.steamcontent.com [
    192.168.0.249]
    Downloading..: 0%
    Downloading..: 0%
    Downloading..: 0%
    Downloading..: 1%
    Downloading..: 1%
    Downloading..: 2%
    Downloading..: 2%
    Downloading..: 3%

    ย 

    The cache directory it still empty in my lancache share though, so it looks like the same issue is occurring when scheduled.

  14. 4 minutes ago, ich777 said:

    Why, looking similar to me.

    You actually have to wait for a sync to start, maybe let the container run over night and let it do it's job and post your logs tomorrow.

    I just meant that I don't get any output when trying to download something in the log. I'll set a schedule and check it in a while, I'll report back with any updates.

  15. 6 minutes ago, ich777 said:

    I really can't explain why this is happening on your system, I've also got the retrying errors sometimes but after it got the CDNs it starts pulling data and filling LANCache:

    ---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 cron---
    ---Taking ownership of data...---
    ---Starting...---
    ---BattleNetPrefill enabled!---
    ---Version Check!---
    ---BattleNetPrefill v1.4.2 up-to-date---
    ---SteamPrefill enabled!---
    ---Version Check!---
    ---SteamPrefill v1.8.1 up-to-date---
    ---Prepare Server---
    
    Your global defined cron schedule is: 0 2 * * *
    
    ---Container fully started, waiting for next cron job to start!---
    
    ==> /lancacheprefill/logs/battlenet_prefill.log <==
    
    ==> /lancacheprefill/logs/steam_prefill.log <==
    
    ==> /lancacheprefill/logs/battlenet_prefill.log <==
    [2022-11-30] Starting BattleNetPrefill
    [1:00:01 AM] Prefilling 5 products 
    
    Detecting Lancache server...
    [1:00:02 AM] Detected Lancache server at level3.blizzard.com!
    [1:00:02 AM] Starting Diablo 3   Up to date!
    [1:00:02 AM] Starting Starcraft Remastered   Up to date!
    [1:00:03 AM] Starting Starcraft 2   Up to date!
    [1:00:04 AM] Starting Warcraft 3: Reforged   Up to date!
    [1:00:04 AM] Starting WoW Classic   Up to date!
    [1:00:05 AM] Prefill complete! Prefilled 5 apps in 03.38
    
    ==> /lancacheprefill/logs/steam_prefill.log <==
    [2022-11-30] Starting SteamPrefill
    [1:00:05 AM] Starting login!
    Connecting to Steam...
    Logging into Steam...
    [1:00:06 AM] Logged into Steam
    Saving Steam session...
    Retrieving owned apps...
    [1:00:06 AM] Steam session initialization complete!
    Retrieving latest App metadata...
    
    [1:00:08 AM] Starting Wreckfest
     Getting available CDN Servers... 
     Getting available CDN Servers...  Retrying 1
     Getting available CDN Servers...  Retrying 2
     Getting available CDN Servers...  Retrying 3
    Fetching depot manifests...
    [1:00:12 AM] Downloading 26.91 GiB
    Detecting Lancache server...
    [1:00:12 AM] Detected Lancache server at lancache.steamcontent.com [10.0.0.3]
    Downloading..: 0%
    Downloading..: 7%
    Downloading..: 15%
    Downloading..: 22%
    Downloading..: 25%
    Downloading..: 32%
    Downloading..: 39%
    Downloading..: 46%
    Downloading..: 50%
    Downloading..: 57%
    Downloading..: 64%
    Downloading..: 71%
    Downloading..: 75%
    Downloading..: 82%
    Downloading..: 89%
    Downloading..: 95%
    Downloading..: 96%
    Downloading..: 97%
    Downloading..: 98%
    Downloading..: 99%
    [1:07:04 AM] Finished in 06:51.83 - 561.36 Mbit/s
    
    [1:07:04 AM] Prefill complete!
    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
      Prefilled 17 apps in 06:59.17 
                                    
       Updated โ”‚ Up To Date         
      โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฟโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”        
          1    โ”‚     16             
                                    
    Disconnecting
    [1:07:04 AM] Disconnected from Steam!

    ย 

    My container logs are different from yours...

    ย 

    ---Checking if UID: 99 matches user---
    usermod: no changes
    ---Checking if GID: 100 matches user---
    usermod: no changes
    ---Setting umask to 000---
    ---Checking for optional scripts---
    ---No optional script found, continuing---
    ---Starting cron---
    ---Taking ownership of data...---
    ---Starting...---
    ---SteamPrefill enabled!---
    ---Version Check!---
    ---SteamPrefill v1.8.1 up-to-date---
    ---Prepare Server---
    
    Your cron schedule for SteamPrefill is: 0 2 * * *
    
    ---Container fully started, waiting for next cron job to start!---

    ย 

    If we can't find a fix for this I can come back to it tomorrow, don't want to spend all night on this.. Thinking I might try an older container if you have one in Docker Hub.ย  What do you think?

    ย 

    ย 

  16. 5 minutes ago, ich777 said:

    Yes, this will only enable communication between br0 containers, the host and bridge containers. By default br0 container can not communicate with the host or other container networks.

    This would also be an issue if you for example set the DNS server from your Unraid box to the LANCache DNS IP, that won't work because the host and br0 can't communicate without Allow Host Access.

    I've enabled it, doesn't seem to have made a difference though. All lancache containers are in the br0 network anyway..

    ย 

    PiHole is in the br0 network aswell, but as mentioned earlier my PiHole set up shouldn't be causing any issues.

  17. 3 minutes ago, ich777 said:

    This is really strange! It should work definitely if you set it to 192.168.0.248.

    ย 

    Please also make sure that you set a Upstream DNS with a variable with the Key: UPSTREAM_DNS and as the Value the upstream DNS of you choice, maybe 1.1.1.1

    ย 

    I've tried setting upstream DNS to 1.1.1.1 and got an error - attached. Going to try with 8.8.8.8 and 8.8.4.4.

    lancache4.png

ร—
ร—
  • Create New...