Trouble Installing
Posted by trodbox
Hello! I ran the install command but it gave me a 403 error. So I copied the install.sh and ftp'd it to my fresh lxc and ran it that way. Got this error within a minute. Any suggestions? / | | | | ) \ \| ' \ / | '| |/ / \ / \ \/ / ) | |) | (| | | | <| |) | () < |/| ./ \,|| ||\\/ \//\\ || The easiest, most user-friendly self-hosting stack anywhere. Created by Tom Spark | youtube.com/@TomSparkReviews [SparkBox] Running in VPS mode [SparkBox] Network profile: private (default-route source IP is private/CGNAT: 192.168.1.178) [SparkBox] Data directory (media/photos/books/manga): /opt/sparkbox/data [SparkBox] System clock is in sync (0s off Cloudflare's reference) [SparkBox] Detected: Debian GNU/Linux 13 (trixie) [SparkBox] Installing system dependencies (detected: debian)... [SparkBox] System dependencies installed (debian). [SparkBox] Docker already installed: Docker version 29.5.3, build d1c06ef [SparkBox] Docker Compose: 5.1.4 ============================================================ PREFLIGHT — here's what I found on this machine ============================================================ System: Debian GNU/Linux 13 (trixie) Hardware: standard Linux server / VPS Memory: 8192 MB Free disk: 40 GB at /opt Install to: /opt/sparkbox Timezone: Etc/UTC Clock: in sync (0s off reference) Mode: fresh install ============================================================ [SparkBox] Downloading SparkBox... curl: (22) The requested URL returned error: 403 [SparkBox] Failed to download SparkBox. Check your internet connection. [SparkBox] URL: https://get.tomsparkbox.com/releases/latest/sparkbox.tar.gz
3 replies
trodbox wrote:
I have resolved the issue. Ran this command : echo 'user-agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"' ~/.curlrc
tomspark wrote:
Nice work figuring that out! That user-agent tweak is a solid fix. We'll look at why the download server returns a 403 to a plain curl request without a browser-style agent — the installer shouldn't have to rely on that workaround. Thanks for sharing the fix here so anyone else who hits the same wall on a fresh install can find it quickly.
tomspark wrote:
Nice work getting past it. Quick heads up — as of version 1.6.259 that user-agent line is built right into the installer, so you won't need to add it by hand next time around. Enjoy SparkBox — give me a shout if anything else comes up.