Obico self hosted?

Hi all,

Is anyone able to get Obico set up self-hosted? I’ve tried pairing, and also tried re-running install.sh manually, but it seems the host OS on these things is already out of date and no longer supported:

```
Hit:1 Index of /debian bullseye InRelease
Hit:2 Index of /debian bullseye-updates InRelease
Ign:3 Index of /debian bullseye-backports InRelease
Hit:4 Index of /debian-security bullseye-security InRelease
Err:5 Index of /debian bullseye-backports Release
404 Not Found [IP: 151.101.46.132 80]
Reading package lists… Done
E: The repository ‘Index of /debian bullseye-backports Release’ no longer has a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
```

How do I get this working?

Read this:

I’m very familiar with that, running it self-hosted on Vorons. The problem isn’t the self-hosting, it’s the OS on the SV08 Max being outdated, and not being able to run the scripts from Obico.

Not sure if you ever got this resolved but here’s the fix:

Modify /etc/apt/sources.list and change the bullseye-backports line to point to archive.debian.org instead of deb.debian.org.

Then do a git pull on moonraker-obico directory, run install.sh as you would normally.

Update ~/printer_data/config/moonraker-obico.cfg

Under the [server] section:
url = <your obico instance>

Under the [webcam] Section:
stream_url = http://127.0.0.1/webcam?action=stream
snapshot_url = http://127.0.0.1/webcam?action=snapshot
(Fixes the webcam)

Restart obico with systemctl restart moonraker-obico

Should be g2g after that.

Late to the party, but I managed to get my max/obico “fixed” today. I’m still using the stock sovol firmware and went to make my own obico server. Got it all working except the webcam. There was no live feed. Everything was really straightforward though otherwise. Latest obico docker container for windows.. set some ip addresses and controls worked. Then spend 16 hrs with AI trying to figure out why the webcam would work. Mostly cause I told it i didn’t want to screw with the printer. (Reinstalling a docker container is much easier than fixing a broken printer firmware). Anyway. IT finally convinced me to ssh into the printer and we discovered Janus won’t start. The code was looking for a folder that didn’t exist. It defines the CB1 mainboard as “other” and looks for the na.debian folder which isn’t present on the max. We did some tests and found that the MKS branch that is present runs on the cb1 and all it’s dependencies were present. So we did a symlink to that directory and Janus now loads up and I get live web feed on my local server.

Hopefully smart people than I can figure out how to take this and make a permanent fix for it.

even after making the changes for bullseye backports and debian security I am unable to update a number of packages necessary to enable obico with a self hosted server. Any suggestions on how to update. **
sovol@SPI-XI**:~/moonraker-obico$ sudo apt update

Reading package lists… Done

Building dependency tree… Done

Reading state information… Done

230 packages can be upgraded. Run ‘apt list --upgradable’ to see them.

###### Installing required system packages… You may be prompted to enter password.

The following additional packages will be installed:

libavcodec58 libavdevice58 libavfilter7 libavformat58 libavresample4

libavutil56 libpostproc55 libswresample3 libswscale5 python-pip-whl

Suggested packages:

ffmpeg-doc

The following packages will be upgraded:

ffmpeg libavcodec58 libavdevice58 libavfilter7 libavformat58 libavresample4

libavutil56 libpostproc55 libswresample3 libswscale5 python-pip-whl

python3-pip

12 upgraded, 0 newly installed, 0 to remove and 218 not upgraded.

Need to get 4,437 kB/11.6 MB of archives.

After this operation, 61.4 kB of additional disk space will be used.

Err:1 bullseye-security/main arm64 ffmpeg arm64 7:4.3.9-0+deb11u2

404 Not Found

Err:2 bullseye-security/main arm64 libavdevice58 arm64 7:4.3.9-0+deb11u2

404 Not Found

Err:3 bullseye-security/main arm64 libavfilter7 arm64 7:4.3.9-0+deb11u2

404 Not Found [IP:

Err:4 bullseye-security/main arm64 libavformat58 arm64 7:4.3.9-0+deb11u2

404 Not Found

Err:5 bullseye-security/main arm64 libpostproc55 arm64 7:4.3.9-0+deb11u2

404 Not Found

Err:6 bullseye-security/main arm64 libavresample4 arm64 7:4.3.9-0+deb11u2

404 Not Found

Ign:7 bullseye-security/main arm64 python3-pip all 20.3.4-4+deb11u2

Err:7 bullseye-security/main arm64 python3-pip all 20.3.4-4+deb11u2

404 Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?