Help. Just found spark channel today and had to try it.....but During the Configure Media Center popup , I am using Open VPN and filled everything out with required fields e.g. name and pw , IP, etc. But I am unable to click 'save and install' as it is getting an error due to the Wireguard key field being blank, but as the description says , its supposed to be blank if you are using OpenVPN. Please advise.
8 replies
tomspark wrote:
Thanks for trying that and the follow-up. We can see this is a validation logic issue on our side — the OpenVPN path shouldn't be blocking on the WireGuard field. This is flagged for investigation; our team will dig into the configuration popup's validation and get a fix queued. Hang tight, and we'll follow up once we have a patch. Appreciate your patience working through this with us!
tomspark wrote:
You're right — blank is correct for OpenVPN, so this one's a glitch on our side, not something you did. Two quick things: first, open a terminal on the box and run sudo sparkbox update (we patched this exact error recently — worth making sure you have it), then close and reopen the Configure Media Center popup and try save again with the WireGuard field left empty. If it still blocks you, tell me if the popup has a VPN Type box and what it's set to — I'll dig in from there.
G_dog wrote:
I ran the command sparkbox update at the terminal on the box and docker pulled the new update. I made sure to log out and back in and still everything looks the same with the same error. The VPN Type box looks like this:
tomspark wrote:
Thanks for running that and providing the screenshot — really helpful. We can see you've got OpenVPN selected in the VPN Type dropdown. The fact that it's still blocking you after the update suggests this might need a bit more investigation on our end. Can you try restarting the SparkBox service and opening the Configure Media Center popup again? If it still blocks on the WireGuard field, we'll dig deeper. Let us know either way.
G_dog wrote:
is restarting the Sparkbox service just a matter of starting and stopping the docker stack? or manually restarting each of the Containers running sb-npm , sb-homepage , sb-portainer? I may need some explicit instructions, other wise I think I managed to restart everything manually but still no luck....
tomspark wrote:
For SparkBox in Docker, the simplest restart is to docker-compose down and up. In the SparkBox folder (usually /opt/sparkbox), run: sudo docker-compose down (stops all containers), then sudo docker-compose up -d (starts them). Or if you prefer restarting the whole stack: sudo docker restart $(docker ps -q). After either command, wait 10-15 seconds for services to come up, then try the Configure Media Center popup again. Let me know if it works or if the error persists — if it does, Tom will dig into the validation logic itself.
G_dog wrote:
from the /opt/sparkbox I can only run the sparkbox down then sparkbox up to restart the stack. I found a docker-compose.yml under /opt/sparkbox/modules/core/ the docker-compose.yml down didnt work...... Anyways problem error still exists needing the wireguard private key :(
Chris wrote:
You were left waiting three weeks after that message. That is on us, and I am sorry — especially on your first day with SparkBox. One thing you were never told: sparkbox update only refreshes your apps' container images. It cannot move SparkBox itself onto a newer release, so it was never going to change that popup no matter how many times you ran it. The command that does is: sudo sparkbox upgrade In the current release the wizard does not ask for a WireGuard key while VPN Type is set to OpenVPN. Also ignore the docker-compose steps further up — sudo sparkbox up is the supported way. If it still blocks after that, paste the version line from sudo sparkbox status and I will take it straight to Tom. — Chris