Silverbullet packaged for Yunohost to easily self-host it

Hi @doris!

You should take a look at this comment to fix the index page (at least it will solve the bad domain of the frame which used to be included):

Or if you don’t care much about its content, just stop the silverbullet service, remove the index page entirely (using the command line) and restart the service so silverbullet recreates a fresh one.

1 Like

Thank you, this worked perfectly.

Side question: what would be a good way to import my current .md notes into my Silverbullet ynh instance?
Should I use Syncthing between my Silverbullet ynh note folder and my desktop computer, for example? Is it ok to do that?

Have a good day!

Hey,

If anyone using yunohost can help me:

Would it be possible to configure the space folder as a local folder on my server local drive like ~/Multimedia/Notes?

Should I use the SB_FOLDER var? I’m not sure what config file to use to change this variable.

Thanks!

1 Like

Should I use the SB_FOLDER var?

Yes, you may! Though be sure that the silverbullet app has the right to write data in this folder:

yunohost app shell silverbullet

Then (replace USER with your own user):

if touch /home/yunohost.multimedia/USER/Notes/helloworld; then
  rm /home/yunohost.multimedia/USER/Notes/helloworld 
  echo "✅ Success"
else
  echo "❌ Can't write in that folder"
fi

If you can’t write in that folder, either because the folder does not exist yet or because you do not have the permissions, you may use the native install command (replace USER):

install -o silverbullet -g www-data -m 0770 -d /home/yunohost.multimedia/USER/Notes

Then you may set SB_FOLDER directly in /home/yunohost.app/silverbullet/custom.env.

Hope that will help you!

1 Like

It’s working flawlessly thank you!

1 Like

Hey @fflorent, I’ve just updated the app and the custom.env file seems to reset itself after the update. How can we deal with that? Thank you.

Oh right! I have found what probably causes the issue:

A fix is being prepared:

Thanks for your report (if possible, prefer opening an issue on the repository of the Yunohost package).

1 Like

The branch has been merged and the upgrade should be available in a few hours (less than 4 hours normally)

1 Like