Fair warning, I'm a complete idiot (at least as far as CDVR/docker/life goes). But I did have mlbserver running great last year on my Synology NAS. Now I've moved my Channels DVR server over to a Mac Mini and I'm having trouble setting this up again. I have OliveTin/Project One-Click installed and running. But when I use the "Create an mlbserver Stack in Portainer + CDVR Custom Channels" option, it just immediately errors out. I've tried several different folders for my "HOST_DIR" without success. I've also tried changing the DVR IP to "localhost" or "127.0.0.1". Is the "DATA_DIRECTORY" field something I need to change? Or is there something else I should try?
MacOS only allows Docker to write to certain directories (which are defined in Docker Desktop). Make sure the directory you're trying to write to actually exists -- and that you're matching upper and lower case. Most use /User/<your MacOS username>, and that's what I'd recommend. I installed mlbserver moments ago on my own server to test, and it installed (and removed) fine.
Have you installed other projects successfully on this platform with Project One-Click?
Well, I definitely have in the past, but now it seems I can't install anything using Project One-Click. So I guess I have something broken there. My apologies for posting this in the mlb thread.
Run the Post-Install Healthcheck Action and post the results in the Project One-Click thread.
I decided to do a fresh install of olivetin. Now it seems to be working for everything but mlbserver though. So I'm not sure if I should be posting this here or in the project one-click thread. When I try to install mlbserver it seems to hang and I never get the source added to my channels DVR. I'm getting this in the log (those last 4 lines keep repeating):
/config/mlbserver.debug.log 2026-03-23 17:33:48
+ dvr=192.168.4.22:8089
++ basename /config/mlbserver.sh
+ extension=mlbserver.sh
+ extension=mlbserver
+ cp /config/mlbserver.env /tmp
+ envFile=/tmp/mlbserver.env
+ [[ -n 192.168.4.22 ]]
+ extensionURL=192.168.4.22:9995
+ [[ # == \# ]]
+ cdvrStartingChannel=
+ [[ -n '' ]]
+ cdvrIgnoreM3UNumbers=
+ curl -s -o /dev/null http://192.168.4.22:9995
+ dirsFile=/tmp/mlbserver.dirs
+ envVars=("TAG=$2" "HOST_PORT=$3" "TZ=$4" "DATA_DIRECTORY=$5" "ACCOUNT_USERNAME=$6" "ACCOUNT_PASSWORD=$7" "FAV_TEAMS=$8" "ZIP_CODE=0" "HOST_DIR=$9")
+ synologyDirs=("$9/mlbserver")
+ printf '%s\n' TAG=latest HOST_PORT=9995 TZ=America/Chicago DATA_DIRECTORY=/mlbserver/data_directory [email protected] ACCOUNT_PASSWORD=password FAV_TEAMS=DET,MIL ZIP_CODE=0 HOST_DIR=/Users/myname
+ printf '%s\n' /Users/myname/mlbserver
+ sed -i /=#/d /tmp/mlbserver.env
+ /config/portainerstack.sh mlbserver
+ [[ 0 == 1 ]]
+++ customChannels
+++ cat
++ tr -d '\n'
++ echo -n '{
"name": "mlbserver",
"type": "HLS",
"source": "URL",
"url": "http://192.168.4.22:9995/channels.m3u?mediaType=Video&resolution=best",
"text": "",
"refresh": "24",
"limit": "",
"satip": "",
"numbering": "",
"start_number": "",
"logos": "",
"xmltv_url": "http://192.168.4.22:9995/guide.xml?mediaType=Video&includeTeamsInTitles=channels&offAir=channels",
"xmltv_refresh": "3600"
}'
+ customChannelsJSON='{ "name": "mlbserver", "type": "HLS", "source": "URL", "url": "http://192.168.4.22:9995/channels.m3u?mediaType=Video&resolution=best", "text": "", "refresh": "24", "limit": "", "satip": "", "numbering": "", "start_number": "", "logos": "", "xmltv_url": "http://192.168.4.22:9995/guide.xml?mediaType=Video&includeTeamsInTitles=channels&offAir=channels", "xmltv_refresh": "3600"}'
+ true
+ curl -s -o /dev/null http://192.168.4.22:9995
+ [[ -n '' ]]
+ sleep 5
+ true
+ curl -s -o /dev/null http://192.168.4.22:9995
+ [[ -n '' ]]
+ sleep 5
+ true
+ curl -s -o /dev/null http://192.168.4.22:9995
+ [[ -n '' ]]
+ sleep 5
+ true
+ curl -s -o /dev/null http://192.168.4.22:9995
+ [[ -n '' ]]
+ sleep 5
+ true
Please post the results from a Post-Install Healthcheck Action in the Project One-Click thread, so I can verify your installation is properly configured.
After giving up on installing this using Project One-Click, I tried just using the docker compose and still had the same problem. But I finally realized that the MLB.TV login page is not working at the moment. I'm hoping that's the majority of my issue. And I really apologize for wasting bnhf's time if it is.
It makes sense that whatever is blocking the container's access is also blocking access from a browser. Likely something related to your IP, or maybe the public DNS servers you use.
I installed and deleted mlbserver quite a few times, as I was testing based on your report, and both the container and their website have been accessible for me.
You might try logging in from your phone via cellular, or anything really that uses a different path to the Internet. That might help narrow down whether it's a wider problem, or isolated to your IP.
I had this problem once. Try logging in from your phone over cellular. For some reason my IP was flagged. Once I figured this out I called their support and they were able to fix. I believe that I had to reset my password while on the phone with them as well.
Yup, this is definitely a problem between my ISP and MLB.tv. Strangely enough it was working fine just last week to watch games over my wifi. But now it is blocked entirely. I was able to finally get mlbserver installed and running by connecting my Mac to my cellular hotspot, but I'm not sure if that means I'll be able to see any of the games yet. I should know soon.
Edit: I didn't realize there was a game on already today. Seems to be working fine now. Does anyone have any idea how long before it will try to re-authenticate my MLB.tv account? Because that seems like it will be an issue again.

