abekonge
  • Joined on 2022-09-07
abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-17 08:12:45 +00:00
Solpunk Pub Failing To Connect To Patchwork

to get the pub working again, one could uninstall peachpub via yunohost and then reinstall it -- I think this will work, and just give you a fresh install (with a new public key)

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-08 17:39:31 +00:00
Solpunk Pub Failing To Connect To Patchwork

Cool, happy that this exercise had some value :)

and then the root:root issue that is just that while debugging we ran as root. so after the debugging process, we always need to run chown -R…

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-08 10:31:31 +00:00
Solpunk Pub Failing To Connect To Patchwork

here you go

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-08 10:13:34 +00:00
Solpunk Pub Failing To Connect To Patchwork

Are you willing and able to share the logfile?

/var/log/peachpub/peachpub-go-sbot.log

Then I can look through the full sequence of events.

Sure, how do you want it?

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-08 07:16:36 +00:00
Solpunk Pub Failing To Connect To Patchwork

Okay, now I have hit the original problem maybe.

So after everything works, I open up patchwork on my machine, solpunk pub shows up as a connection, and it start indexing, the little green…

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 20:38:45 +00:00
Solpunk Pub Failing To Connect To Patchwork

Now as to how these files both got root:root, I have no idea.

And whether the working dir should be changed, I'm not sure.

But if there is something I can do to help this not be a problem…

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 20:32:29 +00:00
Solpunk Pub Failing To Connect To Patchwork

ahahahahaha, it works!

Ok, so I found out that go-ssb would make a new .ssb-go in any location it was run, so I figured that the systemd settings would point to the wrong dir somehow, so I went…

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 19:19:40 +00:00
Solpunk Pub Failing To Connect To Patchwork

Ok I tried changing the peachoub ui DATABASE DIRECTORY to the absolute path of /home/yunohost.app/peachpub/.ssb-go

but that fails to start with systemctl

also relative paths like ./

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 18:29:07 +00:00
Solpunk Pub Failing To Connect To Patchwork

ok `systemctl start peachpub-go-sbot´ creates an inner .ssb-go ...

running go-sbot after repair works, and whoami works:

root@yunohost:/home/admin# /var/www/peachpub/sbotcli call…
abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 17:48:59 +00:00
Solpunk Pub Failing To Connect To Patchwork

Ok, running go-sbot again, quitting, running the repair again, seemed to work

image

But db is still unavail. etc.

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 17:39:04 +00:00
Solpunk Pub Failing To Connect To Patchwork

ok after 30 minutes, my pipe was broken, and the go-sbot was stopped along with my ssh session.

now going back I can start the service, and get green status, but db is still unavailable and…

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 17:05:58 +00:00
Solpunk Pub Failing To Connect To Patchwork

Ok that worked, now go-sbot is crunching!

So it seems that what happened was that when trying to run the repair command, I accidentally created a new .ssb-go folder, which messed things…

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 16:58:11 +00:00
Solpunk Pub Failing To Connect To Patchwork

I wonder if the creation is an artifact of me running

SSB_CONFIG_FILE=/home/yunohost.app/peachpub/.ssb-go/config.toml /var/www/peachpub/go-sbot```

inside the `/home/yunohost.app/peachpu…
abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 16:53:31 +00:00
Solpunk Pub Failing To Connect To Patchwork

ps: sorry we don't have more streamlined tools for log reporting and debugging, but thanks for the patience. also still up for hopping on a call if this gets too messy

no worries, I love…

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 16:52:05 +00:00
Solpunk Pub Failing To Connect To Patchwork

Ok, deleting new new inner .ssb-go, and running

SSB_CONFIG_FILE=/home/yunohost.app/peachpub/.ssb-go/config.toml /var/www/peachpub/go-sbot

creates a new inner .ssb-go ?!?

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 16:48:16 +00:00
Solpunk Pub Failing To Connect To Patchwork

Okay, I tried repair and fsck again, and now I can't start it, and inner .ssb-go IS BACK.

running just sbot-go gives

root@yunohost:/home/yunohost.app/peachpub/.ssb-go# SSB_CONFIG_FI…
abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 16:46:58 +00:00
Solpunk Pub Failing To Connect To Patchwork

I messaged this to @abekonge on ssb, but switching to here, so its all in this thread.

yup I would echo what glyph said to compare .ssb-go/secret and .ssb-go/.ssb-go/secret and see which…

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 16:30:47 +00:00
Solpunk Pub Failing To Connect To Patchwork

I'm not sure how to see which public key is the pub's?

This is an interesting problem. PeachCloud usually queries the sbot to find out the key and then displays it in the web interface.…

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 15:59:34 +00:00
Solpunk Pub Failing To Connect To Patchwork

@notplants They are different!

I'm not sure how to see which public key is the pub's? The ui can't see it itself, in the profile view at least .... and I do not yet have a mental picture of…

abekonge commented on issue PeachCloud/peach-workspace#134 2022-09-07 11:15:58 +00:00
Solpunk Pub Failing To Connect To Patchwork

Thanks for looking into it!

@abekonge

What do you see when you go to the Profile page of the PeachCloud UI?

image