I really want to make a portable Lan/Steam Cache for use with small groups. A Raspberry Pi 4 seems the ultimate hardware choise for a portable rig like this and it would be neat to intergrate this in with some other basic network hardware as portable solution.
I have tried this setup countless times on multiple pieces of hardware, followed mutiple guides to no avail. Any clues?
I have followed the guide mentions here, as well as other RP4 specific and ubuntu specific guides
The setup -
-
Raspberry Pi 4, 4GB(multiple units, differnt cooling cases)
-
WD Mypassport 2TB mechnical HDD(USB3)
-
WD Blue 500GB SSD(USB3 Hub)
Before I run the main Lan Cache code, I install Docker and Docker-Compose. I just use 1 HDD at a time, installing Ubuntu Server (I have tried several releases). For some reason, the RP4 version of Ubuntu server needs this script to be run before it will boot, this only applies to the 64 bit version Ubuntu server, not desktop. I run this script after moutning the drive to anohter system.
sudo curl https://raw.githubusercontent.com/TheRemote/Ubuntu-Server-raspi4-unofficial/master/BootFix.sh | sudo bash
After this, I set the server up by updating it. This takes a while.
I have done the same setup on multiple RP4s. I have also done the setup in a VM, and it worked right away - Here is the basic code for Lan Cache I have been using.
git clone https://github.com/lancachenet/docker-compose/ lancache
cd lancache
nano .env
docker-compose up -d
The command line reports that the container has started up and is running it. Stopping the container reports everything worked also. But when I do a port scan of the machine, it will only show port 22 as being open. But when I scan a VM with the same setup I can see ports 53,80,443 all open, and the Lan Cache actually works on that machine.
‘hello world’ works also.
Has any one gotten this working recently, HELP!