Everything posted by Abhi
-
[Support] SpaceinvaderOne - Macinabox
Hi I did this and restarted and then got stuck on the apple boot logo. Any idea what went wrong or how to revert without completely starting from scratch?
-
need help with custom docker and dockerfile
I am trying to host a discord bot that I am putting together which I have hosted on a private github repo being pushed to docker hub to install as a container on my unraid server. Issue is, it for some reason isn't updating the installed dependencies when I add a new one to my requirements.txt I am a huge novice when it comes to docker and was hoping someone can shed some light on what im doing wrong? Here is my dockerfile omitting private info # Use an official Python runtime as a parent image FROM python:3.10-slim # Install git and upgrade pip RUN apt-get update && \ apt-get install -y git && \ pip install --upgrade pip && \ rm -rf /var/lib/apt/lists/* # Set the working directory WORKDIR /app # Copy the entrypoint script into the container COPY docker-entrypoint.sh /app/docker-entrypoint.sh # Make the entrypoint script executable RUN chmod +x /app/docker-entrypoint.sh # Set the entrypoint ENTRYPOINT ["/app/docker-entrypoint.sh"] # Default command CMD [] and here is my docker-entrypoint.sh file set -e TARGET_BRANCH=${GIT_BRANCH:-main} APP_DIR="/app" GIT_SOURCE_DIR="/app_source_repo" if [ -z "$GITHUB_TOKEN" ]; then echo "Error: GITHUB_TOKEN not set."; exit 1; fi if [ -z "$GIT_REPO_URL" ]; then echo "Error: GIT_REPO_URL not set."; exit 1; fi echo "Ensuring git repository ($GIT_REPO_URL, branch $TARGET_BRANCH) is up to date in $GIT_SOURCE_DIR..." AUTH_GIT_REPO_URL=$(echo "$GIT_REPO_URL" | sed "s|https://|https://x-access-token:${GITHUB_TOKEN}@|") if [ -d "$GIT_SOURCE_DIR/.git" ]; then echo "Existing repository found in $GIT_SOURCE_DIR. Attempting to update..." cd "$GIT_SOURCE_DIR" git config http.sslVerify true git config pull.rebase false current_branch=$(git rev-parse --abbrev-ref HEAD) if [ "$current_branch" != "$TARGET_BRANCH" ]; then echo "Current branch is $current_branch, switching to $TARGET_BRANCH..." git checkout "$TARGET_BRANCH" || git checkout -b "$TARGET_BRANCH" origin/"$TARGET_BRANCH" fi git fetch origin "$TARGET_BRANCH" echo "Resetting to origin/$TARGET_BRANCH..." git reset --hard "origin/$TARGET_BRANCH" echo "Cleaning repository..." git clean -fdx cd "$APP_DIR" echo "Repository updated." else echo "No existing repository found. Cloning fresh into $GIT_SOURCE_DIR..." rm -rf "$GIT_SOURCE_DIR" git clone --branch "$TARGET_BRANCH" --single-branch "$AUTH_GIT_REPO_URL" "$GIT_SOURCE_DIR" echo "Repository cloned." fi echo "Copying necessary files from $GIT_SOURCE_DIR to $APP_DIR..." mkdir -p "$APP_DIR/src" rm -rf "$APP_DIR/src"/* "$APP_DIR/requirements.txt" if [ -d "$GIT_SOURCE_DIR/src" ]; then cp -R "$GIT_SOURCE_DIR/src/." "$APP_DIR/src/" echo "Copied src/ directory." else echo "Error: src/ directory not found in repository at $GIT_SOURCE_DIR/src." exit 1 fi if [ -f "$GIT_SOURCE_DIR/requirements.txt" ]; then cp "$GIT_SOURCE_DIR/requirements.txt" "$APP_DIR/requirements.txt" echo "Copied requirements.txt." else echo "Error: requirements.txt not found in repository at $GIT_SOURCE_DIR/requirements.txt." exit 1 fi echo "Necessary files copied to $APP_DIR." echo "Installing/Updating Python dependencies from $APP_DIR/requirements.txt..." pip install --no-cache-dir -r "$APP_DIR/requirements.txt" cd "$APP_DIR/src" echo "Starting bot from $APP_DIR/src/bot.py..." exec python bot.py "$@" Any help would be much appreciated! docker-entrypoint.sh Dockerfile
-
[SUPPORT] DiamondPrecisionComputing - ALL IMAGES AND FILES
The idea is the same but it happens to any containers I attach gluetun to. I'd love to mention all circumstances, but really thats all I know. Randomly the docker will just stop working, I'd assume as it has something to do with healthchecks? I set that on qbit, but what about sabnzbd?
-
[SUPPORT] DiamondPrecisionComputing - ALL IMAGES AND FILES
Any idea why containers using gluetun will randomly stop working and require a restart to get it to work again, only for it to stop working again later?
-
Network issues with my dockers? Maybe whole unraid server?
Fixed! Dont exactly know what this setting does and why it messes up my network, but enabling it fixed all my issues. EDIT: Nope. Nvm. That did not fix it EDIT EDIT: Seems like setting Logged packets type to none fixed it? Might be time for a new mesh network...
-
Network issues with my dockers? Maybe whole unraid server?
I didnt use custom networks, but went ahead and made one and its still not working
-
Network issues with my dockers? Maybe whole unraid server?
I tried this out. Recreated my docker image, and reinstalled my dockers. Didn't work. I also stopped all dockers, and enabled just Overseerr to test, and it was still causing issues where the things just wouldn't load. For reference, everything loads fine if I access it locally through the internal IP's, its only when I try to access through NGINX when dockers would mess up. Makes me think now this might be a NGINX issue? During the slowdowns, I never notice any issue with consuming media or even downloading through SABnzbd.
-
Network issues with my dockers? Maybe whole unraid server?
Any help would be appreciated!
-
Network issues with my dockers? Maybe whole unraid server?
I've been having recent issues with the network (I believe specifically the network for dockers) ever since I had a hard drive report errors and I redownloaded a bunch of media. I originally thought that maybe this was an issue with my network panel, but even after redoing everything, I am still having issues with my unraid server where other stuff works fine. Maybe I missed something? I noticed containers would not load for a while. A visual example I noticed this with was with my glance home screen where it would report services as timed out, when normally they'd hover around the 200ms range. Here is a what it looks like after I refresh after a few seconds I was hoping someone could help me figure out whats going on. Attached is my diagnostics report. I hope I pulled the right one for this. Please let me know if I can provide anything else. tower-diagnostics-20250414-2313.zip
-
VIDEO: AI Chat Unleashed: Quick Serge Chat Setup on Unraid!
WebUI starts, but its just a blank page. Get this error below which was also mentioned in another thread | await wrap(partial(self.listen_for_disconnect, receive)) | File "/usr/local/lib/python3.11/site-packages/starlette/responses.py", line 273, in wrap | await func() | File "/usr/local/lib/python3.11/site-packages/starlette/responses.py", line 250, in listen_for_disconnect | message = await receive() | ^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/asyncio/queues.py", line 158, in get | await getter | asyncio.exceptions.CancelledError: Cancelled by cancel scope 14b770d2a7d0 | | During handling of the above exception, another exception occurred: | | Exception Group Traceback (most recent call last): | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 109, in __call__ | await response(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/responses.py", line 270, in __call__ | async with anyio.create_task_group() as task_group: | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__ | raise BaseExceptionGroup( | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/usr/local/lib/python3.11/site-packages/starlette/responses.py", line 273, in wrap | await func() | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 134, in stream_response | return await super().stream_response(send) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/starlette/responses.py", line 262, in stream_response | async for chunk in self.body_iterator: | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 98, in body_stream | raise app_exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro | await self.app(scope, receive_or_disconnect, send_no_error) | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__ | raise exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__ | await self.app(scope, receive, sender) | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__ | raise e | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__ | await self.app(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__ | await route.handle(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 443, in handle | await self.app(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 276, in __call__ | await super().__call__(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__ | await self.middleware_stack(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__ | raise exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__ | await self.app(scope, receive, _send) | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__ | raise exc | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__ | await self.app(scope, receive, sender) | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__ | raise e | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__ | await self.app(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__ | await route.handle(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle | await self.app(scope, receive, send) | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app | response = await func(request) | ^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 237, in app | raw_response = await run_endpoint_function( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 163, in run_endpoint_function | return await dependant.call(**values) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/serge/routers/chat.py", line 76, in get_all_chats | [await get_specific_chat(id.decode()) for id in ids], | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/serge/routers/chat.py", line 76, in <listcomp> | [await get_specific_chat(id.decode()) for id in ids], | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.11/site-packages/serge/routers/chat.py", line 106, in get_specific_chat | chat = Chat.parse_raw(chat_raw) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "pydantic/main.py", line 549, in pydantic.main.BaseModel.parse_raw | File "pydantic/main.py", line 526, in pydantic.main.BaseModel.parse_obj | File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__ | pydantic.error_wrappers.ValidationError: 1 validation error for Chat | params -> n_gpu_layers | field required (type=value_error.missing) +------------------------------------
-
[Support] kilrah/serge
Same issue here. Was there ever a fix for this?
-
[Support] Linuxserver.io - netboot.xyz
For someone who often needs to install windows OS for deployment to PC's would this be a good way to go about that? My understanding is that I can take the base windows install ISO, and using pxe boot, I can have it installed onto PC's using netboot?
-
Server Crashing once a day
Were you able to figure out whats going on? My server has been crashing multiple times a day for about a week now. Can't figure out what is going on
-
[Support] ich777 - Gameserver Dockers
I was able to fix it. It was an issue on my end I did wrong. Sorry! But to answer your question for the server files, I believe this is what you're looking for https://github.com/XLabsProject/iw4x-rawfiles/releases/latest/download/release.zip
-
[Support] ich777 - Gameserver Dockers
It loops! That message I sent was the full output of the logs when I open the container logs from webui. Is there a different way I can get you those logs?
-
[Support] ich777 - Gameserver Dockers
Trying to run the iw4x container but it gives a error when I start it. This is the logs. I believe it has something to do with X server and $DISPLAY 0070:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0070:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0070:err:systray:initialize_systray Could not create tray window 00f0:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 0A6EFEF8 00f4:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 0A80FEF8 0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0024:fixme:system:NtUserSystemParametersInfo Unimplemented action: 59 (SPI_SETSTICKYKEYS) 0024:fixme:system:NtUserSystemParametersInfo Unimplemented action: 53 (SPI_SETTOGGLEKEYS) 0024:fixme:system:NtUserSystemParametersInfo Unimplemented action: 51 (SPI_SETFILTERKEYS) 00fc:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 00fc:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 00fc:fixme:dwmapi:DwmSetWindowAttribute (00090032, 14, 0B88779C, 4) stub ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default inflating: main/iw_dlc8_00.iwd inflating: zone/dlc/mp_abandon.ff inflating: zone/dlc/mp_abandon_load.ff inflating: zone/dlc/mp_bloc.ff inflating: zone/dlc/mp_bloc_load.ff extracting: zone/dlc/mp_bloc_sh.ff extracting: zone/dlc/mp_bloc_sh_load.ff extracting: zone/dlc/mp_bog_sh.ff extracting: zone/dlc/mp_bog_sh_load.ff inflating: zone/dlc/mp_cargoship.ff inflating: zone/dlc/mp_cargoship_load.ff extracting: zone/dlc/mp_cargoship_sh.ff extracting: zone/dlc/mp_cargoship_sh_load.ff inflating: zone/dlc/mp_compact.ff inflating: zone/dlc/mp_compact_load.ff inflating: zone/dlc/mp_complex.ff inflating: zone/dlc/mp_complex_load.ff inflating: zone/dlc/mp_crash.ff inflating: zone/dlc/mp_crash_load.ff extracting: zone/dlc/mp_crash_tropical.ff extracting: zone/dlc/mp_crash_tropical_load.ff inflating: zone/dlc/mp_cross_fire.ff inflating: zone/dlc/mp_cross_fire_load.ff extracting: zone/dlc/mp_estate_tropical.ff extracting: zone/dlc/mp_estate_tropical_load.ff extracting: zone/dlc/mp_fav_tropical.ff extracting: zone/dlc/mp_fav_tropical_load.ff extracting: zone/dlc/mp_firingrange.ff extracting: zone/dlc/mp_firingrange_load.ff inflating: zone/dlc/mp_fuel2.ff inflating: zone/dlc/mp_fuel2_load.ff inflating: zone/dlc/mp_killhouse.ff inflating: zone/dlc/mp_killhouse_load.ff inflating: zone/dlc/mp_nuked.ff inflating: zone/dlc/mp_nuked_load.ff inflating: zone/dlc/mp_overgrown.ff inflating: zone/dlc/mp_overgrown_load.ff extracting: zone/dlc/mp_rust_long.ff extracting: zone/dlc/mp_rust_long_load.ff extracting: zone/dlc/mp_shipment_long.ff extracting: zone/dlc/mp_shipment_long_load.ff inflating: zone/dlc/mp_storm.ff inflating: zone/dlc/mp_storm_load.ff extracting: zone/dlc/mp_storm_spring.ff extracting: zone/dlc/mp_storm_spring_load.ff inflating: zone/dlc/mp_strike.ff inflating: zone/dlc/mp_strike_load.ff inflating: zone/dlc/mp_trailerpark.ff inflating: zone/dlc/mp_trailerpark_load.ff inflating: zone/dlc/mp_vacant.ff inflating: zone/dlc/mp_vacant_load.ff ---Checking if gamefiles are in place--- ---Gamefiles found!--- ---Checking if WINE workdirectory is present--- ---WINE workdirectory found--- ---Checking if WINE is properly installed--- ---WINE properly set up--- ---Prepare Server--- ---Checking for 'server.cfg'--- ---'server.cfg' found!--- ---Checking for 'playlists.info'--- ---'playlists.info' found!---
-
Docker-OSX
This are the commands I use to have ventura and to get iMessage working. I left SERIAL, BOARD_SERIAL, UUID, and MAC_ADDRESS empty as thats specific to each user. Check this out to get those generated. I didn't use the vnc version mentioned in an earlier post here. Idk what difference it makes, but everything works fine for me. VNC included. mkdir /var/tmp/docker-osx cd /var/tmp/docker-osx wget https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/Dockerfile docker build -t docker-osx --build-arg VERSION=13.0 --build-arg SIZE=200G . Then run this after the docker build docker run -i \ --device /dev/kvm \ --device /dev/snd \ --name='Docker-OSX' \ -d --privileged \ -p 50922:10022 \ -p 8888:5999 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e RAM=6 \ -e NETWORKING=vmxnet3 \ -e EXTRA="-display none -vnc 0.0.0.0:99,password=on" \ -e MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist \ -e GENERATE_SPECIFIC=true \ -e DEVICE_MODEL="iMac20,2" \ -e SERIAL="" \ -e BOARD_SERIAL="" \ -e UUID="" \ -e MAC_ADDRESS="" \ sickcodes/docker-osx:ventura I was wondering if anyone can get ^ this translated into a dockerMan xml to be used on community apps?
-
MacOs in Docker
Back again.. Anytime I edit the config.plist it always reverts back as if I didn't do anything. Can't seem to figure out whats wrong
-
[Support] SpaceinvaderOne - Macinabox
Can't figure out how to get an Intel GPU to passthrough when I have a RTX 2070 GPU in the system also. Everytime I start the VM with "Intel UHD Graphics 630" selected for the Graphics card, my VM never starts or rather I don't know that it does. I have TeamViewer installed which would let me know so I can remote in, but it never lets me. Was anyone able to get Intel UHD graphics passed through? More specifically a Intel i5-10400? Or maybe if anyone can help me figure out how to do it with some steps?
-
MacOs in Docker
That fixed it thank you!
-
MacOs in Docker
-
Mover is moving paused sabnzbd files
I take it this means I need to have a separate downloads folder? My structure follows the trash guides setup with the data folder set as Cache yes data - media - movies - tv - torrents - usenet Within Sabnzbd I have my downloads path set as such that way I can utilize the Minimum Free Space for Completed/Temporary Download Folder
-
Mover is moving paused sabnzbd files
I have Sabnzbd set so it pauses downloads when the available space gets to 50gb's. Albeit, when it pauses, mover runs and starts to move those paused files to array which causes sabnzbd to error out those downloads. How can I get around this?
-
[Support] ich777 - Gameserver Dockers
Was able to figure it out. Needs to be +party_enable 0 but I cant get it to show in the master list 🤔 for some reason it only shows as a local server
-
[Support] ich777 - Gameserver Dockers
Any idea on how to change a iw4x server from Lobby Party (P) to a Dedicated Server (M)?