YunoHost package

There is very few of us lurking around sourcehut, but people like me are completely unable to install and make stuff work on a server, therefore, the only way to self-host anything is through YunoHost.

I would be immensely grateful if a microblog.pub package could be created for YunoHost!

Assigned to
4 months ago
2 months ago
No labels applied.

~tsileo 4 months ago


That makes sense, thanks for the feedback.

I took a quick look, it will require a bit of work but I think I should be able to create a YunoHost package.

I will try to keep you updated here.

~tommi 4 months ago

Thank you! This means a lot!

Best, T

~tsileo 3 months ago

Quick update, I made a bit of progress and I managed to get a working installation script!

I still need to work on the update/backup/restore script, but that's a milestone.

~tommi 3 months ago

Great! This is wonderful 😍

Can’t wait, thanks so much!

~chrichri 3 months ago

Just to mention it: I'd love to try a yunohost package also (actually installed yunohost, because I read about the idea to provide microblog.pub as a pacakge ;-) )

~tsileo 3 months ago

Good to know! I will post an update, it should maybe take few more weeks.

I have the scripts mostly ready, but I still want to have few missing features implemented.

~tsileo 2 months ago*

I think I have this ready for testing: https://git.sr.ht/~tsileo/microblog.pub_ynh

It's not in the official repository (yet), but if you're interested, you can give it a try. I would like to hear some feedback!

~chrichri 2 months ago

Installed fine. Great work! Didn't find any problems, yet.

~tommi 2 months ago

Thanks a lot! I have just a few remarks:

  • I know little or nothing about system administration: I cannot find the data directories and all of the microblog.pub config files. Where are they located? (e.g. I would like to change the SCSS)
  • When installing the instance, as displayed in the screenshot, I have two mandatory fields to fill… should I put only the username in the first and only the domain in the second? Do I need to add @ myself or they are added automatically?

~tsileo 2 months ago

Hey, I only tried the CLI install where it shows the name of the field, I assumed it would show up in the web UI too, I will improve the manifest!

At this point, I think you should already have the domain filled, correct?

The first field expects the username without @. The second field expects the name. After that, you will be able to fill your summary (markdown supported), and finally the admin password.

I was planning to work on the Yunohost documentation soon, in the meantime, you can see some details about how to edit the config file here: https://todo.sr.ht/~tsileo/microblog.pub/25

Are you able to edit a file via the command line? Because I don't think Yunohost can allow to edit file via the web UI.

~tsileo 2 months ago

I just pushed an updated manifest, if you restart the install process, you will see the improvements.

~tommi 2 months ago*

Are you able to edit a file via the command line?

I most definitely can, my problem is just knowing its path/location!

~tommi 2 months ago

I will wait for microblog.pub_ynh repository to be added to the official YunoHost Apps list to deploy it in production, so that I do not have to migrate or change anything, and directly install from there.

~chrichri 2 months ago

Just deleted microblog.pub on my yunohost to start over and found that it seems to compile a python version of its own. Is this intended and needed?

This is the version installed by armbian (base system to my yunohost):

# dpkg-query -W python3
python3	3.9.2-3

The version compiled:

# /opt/yunohost/microblogpub/pyenv/versions/3.10.6/bin/python --version
Python 3.10.6

~tsileo 2 months ago

Hey, yes it is intended and needed:

  • We rely on features available for Python3.10+
  • There's no package available for Python3.10 in Debian

Whenever Debian switches to Python3.10, we will be able to just use a virtual environment, but for now this is needed.

~tsileo 2 months ago

Hey, I just pushed an update (mostly bug fixes).

I tried on my "YunoHost test instance", and it went well.

I would appreciate if you can confirm it's working for you too, I had to do:

sudo yunohost app upgrade microblogpub -u https://git.sr.ht/~tsileo/microblog.pub_ynh


~chrichri 2 months ago

Couldn't find any problem. Worked like a charm!

Register here or Log in to comment, or comment via email.