So, I recently switched from an #AMD64 #VPS to an #ARM one, and I'm trying to gradually bring all the services I was running back up on the new server. It has generally been pretty easy since most of the actual hosting is being done on a local machine and the VPS is serving as more of a router, but I am having some trouble with my #Owncast server.
I can just reinstall it, but I don't know how to carry over the federation information (and associated keys). I have a backup copy of the owncast directory from the old server, but given that it contains AMD64 binaries, I can't just copy the whole directory and call it a day. Is ther eany way I can copy this data out of the old directory and import it into a fresh installation?
Any #Plan9 gurus on the fedi?
I've managed to break my profile causing me to be unable to connect to my account. It disconnects me upon running the profile script. drawterm -c
is not an option because it executes the profile disconnecting me before even running the command. drawterm -G
's a no-go as well.
Is there a way I can mount my remote home directory into my local (Debian 12) filesystem so that I can fix the profile without running rcpu?
Greg A. Woods likes this.
moody
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to moody • •-c
flag?moody
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to moody • •@moody
From the man page:
Problem is that the profile is executed before the command is run, so it boots me before even running the command. This is why I was trying to see if I could remote mount the filesystem to get around this.
moody
in reply to Jonathan Lamothe • • •~moody/tlsclient - tlsclient(1) and rcpu(1) for *nix - sourcehut git
git.sr.htJonathan Lamothe
in reply to moody • •libssl-dev
package installed, FWIW.moody
in reply to Jonathan Lamothe • • •Skip - ΩΨ±ΫΨ¨Ψ±Ψ² ΨͺΩΪ©ΩΫΨ§Ω
in reply to moody • • •Jonathan Lamothe
in reply to Skip - ΩΨ±ΫΨ¨Ψ±Ψ² ΨͺΩΪ©ΩΫΨ§Ω • •Jonathan Lamothe
in reply to moody • •moody
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to moody • •@moody Such is the nature of compiling C code. I really wish it had some sort of automatic dependency management, but what can you expect from a language that old?
When the bootcamp is over, I actually want to get into writing software for Plan9, because despite being very C-centric, it seems a nice system to develop for.
Edit: autocorrupt
moody
in reply to Jonathan Lamothe • • •I figured out the issue, it was somehow related to the ordering of passing the -l flags to cc (ugh!), if you pull the latest code from sr.ht it should build fine on debian stable now. You will need both libssl-dev and pkg-config. I've added debian to the CI builds for this now so this shouldn't slip by again without me noticing. Thanks for the bug report.
Plan 9 C thankfully has none of this insanity, as you've noticed.
Jonathan Lamothe
in reply to moody • •Jonathan Lamothe
in reply to Jonathan Lamothe • •./tlsclient -u jlamothe -h 9p.sdf.org -a 9p.sdf.org -p 17019 rm /usr/jlamothe/lib/profile
...but my profile still seems to exist. It's giving me the same error about line 7 when I connect using drawterm.
moody
in reply to Jonathan Lamothe • • •moody
in reply to Jonathan Lamothe • • •Cool, so now you can do something like:
tlsclient -R -h 9p.sdf.org -a 9p.sdf.org rc -i
Then edit profile with either ed or sam -d.
Jonathan Lamothe
in reply to moody • •@moody oh my god, I have a prompt!
Thank you!!
Edit: I was clearly too happy here to be bothered with proper spelling.