# Silverbullet packaged for Yunohost to easily self-host it

**URL:** https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313
**Category:** Guides
**Created:** [March 13, 2024, 11:48am UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313 "2024-03-13T11:48:33Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![fflorent](https://community.silverbullet.md/user_avatar/community.silverbullet.md/fflorent/32/239_2.png) [@fflorent](https://community.silverbullet.md/u/fflorent)
#### Post date: [March 13, 2024, 11:48am UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/1 "2024-03-13T11:48:33Z")

</div>

Hello there 👋 !

I discovered Silverbullet lately and took the opportunity to package it for Yunohost.

Yunohost is a Debian-based operating-system meant to ease and democratize the installation and administration of self-hosted web applications (including upgrades, backup and restorations, etc.). Also it’s Free/Libre/Open-Source.

Also regarding the Silverbullet package:

- The page: [YunoHost app store | SilverBullet](https://apps.yunohost.org/app/silverbullet)
- The repository: [GitHub - YunoHost-Apps/silverbullet\_ynh: A creative space where you collect, create and expand your personal knowledge.](https://github.com/YunoHost-Apps/silverbullet_ynh)

When installing it, you are asked to questions:

- the domain on which you install the app (you must create a dedicated domain, usually a sub-domain of your main one);
- who is the administrator of the app: this is the Yunohost user who should use the app;

Note: as of today (2024-03-13), the package is fresh new, it is still marked as broken. In fast, that’s because the CI has not run to rate the app. You may install it anyway (it should work) or wait a few weeks.

Enjoy!

---

<div class="post-metadata">

### Author: ![fflorent](https://community.silverbullet.md/user_avatar/community.silverbullet.md/fflorent/32/239_2.png) [@fflorent](https://community.silverbullet.md/u/fflorent)
#### Post date: [March 13, 2024, 11:50am UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/2 "2024-03-13T11:50:34Z")

</div>

If you want to know more about Yunohost: [https://yunohost.org](https://yunohost.org)

If you want to install it, you may follow this guide: [Install YunoHost | Yunohost Documentation](https://yunohost.org/en/install)

(PS: I circumvent the limitations of 2 links per post, Yunohost is a community driven project, I hope it’s not a problem)

---

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [March 13, 2024, 6:25pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/3 "2024-03-13T18:25:45Z")

</div>

This is super cool. Thanks for doing this!

---

<div class="post-metadata">

### Author: ![TheNomad11](https://community.silverbullet.md/user_avatar/community.silverbullet.md/thenomad11/32/65_2.png) [@TheNomad11](https://community.silverbullet.md/u/TheNomad11)
#### Post date: [March 15, 2024, 9:00am UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/4 "2024-03-15T09:00:44Z")

</div>

Thanks a lot, very cool! I just installed it and it works perfectly!

---

<div class="post-metadata">

### Author: ![whysofurious](https://community.silverbullet.md/user_avatar/community.silverbullet.md/whysofurious/32/118_2.png) [@whysofurious](https://community.silverbullet.md/u/whysofurious)
#### Post date: [March 15, 2024, 9:55am UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/5 "2024-03-15T09:55:43Z")

</div>

As a Yunohost user, thank you! I hope I can try it soon 🙂

---

<div class="post-metadata">

### Author: ![fflorent](https://community.silverbullet.md/user_avatar/community.silverbullet.md/fflorent/32/239_2.png) [@fflorent](https://community.silverbullet.md/u/fflorent)
#### Post date: [July 12, 2024, 11:55am UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/6 "2024-07-12T11:55:34Z")

</div>

Update: ARM64 architecture now supported for Yunohost since version 0.8.1~ynh1 !

---

<div class="post-metadata">

### Author: ![clickbrain](https://community.silverbullet.md/user_avatar/community.silverbullet.md/clickbrain/32/572_2.png) [@clickbrain](https://community.silverbullet.md/u/clickbrain)
#### Post date: [August 31, 2024, 12:45pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/7 "2024-08-31T12:45:06Z")

</div>

Thank you for creating this. I discovered SB because you created the YunoHost install.

I have a question though. I found where the files are stored in the server on Yuno, but I want to synchronize md files from my LogSeq files to SB on the server. Currently, the Notes folder does not have read or write permissions and I am wondering if there is risk to enabling that for an ftp user so that I can synchronize them back and forth.

---

<div class="post-metadata">

### Author: ![fflorent](https://community.silverbullet.md/user_avatar/community.silverbullet.md/fflorent/32/239_2.png) [@fflorent](https://community.silverbullet.md/u/fflorent)
#### Post date: [August 31, 2024, 4:39pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/8 "2024-08-31T16:39:33Z")

</div>

You may do that, but the trickiest part is that the rights will be reset after each upgrade.

You may hack something using the [Yunohost Hooks](https://yunohost.org/en/packaging_apps_hooks) and/or you may also change the `SB_FOLDER` env variable to your sftp folder with the rights correctly set (the package sets a [default value](https://github.com/YunoHost-Apps/silverbullet_ynh/blob/f68add019a76edd9667143ec96a9b3bf84cf7b09/conf/default.env#L6) for it but you may override it in [/home/yunohost.app/silverbullet/custom.env](https://github.com/YunoHost-Apps/silverbullet_ynh/blob/master/conf/custom.env))

---

<div class="post-metadata">

### Author: ![clickbrain](https://community.silverbullet.md/user_avatar/community.silverbullet.md/clickbrain/32/572_2.png) [@clickbrain](https://community.silverbullet.md/u/clickbrain)
#### Post date: [September 2, 2024, 7:20pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/9 "2024-09-02T19:20:27Z")

</div>

Thanks so much for the reply and ideas about how to do it.

I did add the following to the file custom.env here: /home/yunohost.app/silverbullet/

```auto
# Here you can define your custom env variables
SB_FOLDER="/home/ftpsbnotes/sbnotes"

```

When I create a new file in the SB interface though, it is still going to the original Notes folder rather than the new one I created.

Am I missing something else I need to do to make this work? Restart the server?

---

<div class="post-metadata">

### Author: ![fflorent](https://community.silverbullet.md/user_avatar/community.silverbullet.md/fflorent/32/239_2.png) [@fflorent](https://community.silverbullet.md/u/fflorent)
#### Post date: [September 2, 2024, 9:18pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/10 "2024-09-02T21:18:54Z")

</div>

Normally restarting the service should be enough:

```auto
systemctl restart silverbullet

```

---

<div class="post-metadata">

### Author: ![clickbrain](https://community.silverbullet.md/user_avatar/community.silverbullet.md/clickbrain/32/572_2.png) [@clickbrain](https://community.silverbullet.md/u/clickbrain)
#### Post date: [September 3, 2024, 4:19pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/11 "2024-09-03T16:19:41Z")

</div>

Unfortunately, when I changed the path as outlined above, it started throwing a 502 bad gateway error. After I removed the path and restarted, it worked again. Not sure if permissions issue or what. Just would prefer a sync that doesn’t require me to use github for my data and change my Logseq processes.

---

<div class="post-metadata">

### Author: ![dot](https://community.silverbullet.md/user_avatar/community.silverbullet.md/dot/32/574_2.png) [@dot](https://community.silverbullet.md/u/dot)
#### Post date: [September 5, 2024, 2:29pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/12 "2024-09-05T14:29:13Z")

</div>

Hi,

Thank you so much fflorent for porting SilverBullet to Yunohost and for updating the package so quickly!

It’s a tiny detail: I think there’s a typo with the link (which doesn’t appear as such) on this message.

![image](https://community.silverbullet.md/uploads/default/original/1X/2354f981647d336391415a175bbbd39a20282b49.png)

---

<div class="post-metadata">

### Author: ![fflorent](https://community.silverbullet.md/user_avatar/community.silverbullet.md/fflorent/32/239_2.png) [@fflorent](https://community.silverbullet.md/u/fflorent)
#### Post date: [September 5, 2024, 8:32pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/13 "2024-09-05T20:32:08Z")

</div>

Oh, you mean this should be `[PLUGS](https://silver.[...]/PLUGS)`? I am fixing that.

---

<div class="post-metadata">

### Author: ![razortide](https://community.silverbullet.md/user_avatar/community.silverbullet.md/razortide/32/1257_2.png) [@razortide](https://community.silverbullet.md/u/razortide)
#### Post date: [April 19, 2025, 4:03pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/14 "2025-04-19T16:03:43Z")

</div>

Hey @fflorent, thank you for putting in the time and effort! I just setup my own Silverbullet instance using Yunohost!  
However, I struggled, getting the latest concepts to work and when I checked I’ve found, that the installed version is 0.10.4~ynh1 (which should be the latest release).

My weird behaviour happens when I try to update libraries.  
Clicking on the link, I receive the error: “Could not load page !officialURL/Libraries: Failed to fetch” and the URL changes to [https://my.url.com/!silverbullet.md/Libraries](https://my.url.com/!silverbullet.md/Libraries)

I can’t compare to the original SETTINGS file, since it appears empty to me. On the other hand my CONFIG file is empty, while the silverbullet one has content.  
I also checked the meta tags that is a short list on my instance

 ![Shows all pages on my instance with meta tag: Config, Lua, Query Templates. Template, SETTINGS](https://community.silverbullet.md/uploads/default/original/2X/b/bc94df887d4aaf9e39f11f5031b07abdd719c1f6.png)  
while on the official page it is rather big (and the filtering looks different (pin vs. tag)).

While compiling this post, I also checked my yunohost.app/silverbullet/notes/ folder and found that I am lacking many files I would expect (like Library/Std/) I am only able to find SETTINGS and index.  
I am really lost here - is this normal behaviour? I haven’t found a comprehensive source of documentation unfortunately, therefore I reach out to you (oh and to @zef of course 🙂

Happy Easter!

P.S.: I would have loved to put in more links to make your life easier, but apparently as a new user, I am not allowed to add more than two links.

P.S.2: I tried to populate my Library/Std/ folder by manually creating the files (like Quick Note), but failed due to the read-only restriction.

---

<div class="post-metadata">

### Author: ![fflorent](https://community.silverbullet.md/user_avatar/community.silverbullet.md/fflorent/32/239_2.png) [@fflorent](https://community.silverbullet.md/u/fflorent)
#### Post date: [April 19, 2025, 5:53pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/15 "2025-04-19T17:53:44Z")

</div>

Thanks for your feedback @razortide!

I have nether had such a `/home/yunohost.app/silverbullet/notes/Library/std` folder in my instance. However there exists a `.../Library/Core` folder.

I faced some issues when trying setting up a new Silverbullet instance. I know that @zef has migrated the website for v1 to `v1.silverbullet.md`, and I had to replace all the occurrences of `silverbullet.md` present under `/home/yunohost.app/silverbullet/notes` to `v1.silverbullet.md`.

```auto
/home/yunohost.app/silverbullet/notes/index.md:![[!v1.silverbullet.md/Getting Started]]
/home/yunohost.app/silverbullet/notes/SETTINGS.md:This page contains some configuration overrides for SilverBullet. A list of configs and their documentation [[!v1.silverbullet.md/SETTINGS|can be found here]].
/home/yunohost.app/silverbullet/notes/SETTINGS.md:To update the [[!v1.silverbullet.md/Libraries|libraries]] specified below, run {[Libraries: Update]}
/home/yunohost.app/silverbullet/notes/SETTINGS.md:- import: "[[!v1.silverbullet.md/Library/Core/*]]"

```

Does it work better after this change?

---

<div class="post-metadata">

### Author: ![razortide](https://community.silverbullet.md/user_avatar/community.silverbullet.md/razortide/32/1257_2.png) [@razortide](https://community.silverbullet.md/u/razortide)
#### Post date: [April 19, 2025, 6:56pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/16 "2025-04-19T18:56:35Z")

</div>

Hey @fflorent,

thank you for your fast answer. I am a bit confused - what do I need to do to apply that change? Creating a new Silverbullet instance or is or something else?

Thank you!

---

<div class="post-metadata">

### Author: ![fflorent](https://community.silverbullet.md/user_avatar/community.silverbullet.md/fflorent/32/239_2.png) [@fflorent](https://community.silverbullet.md/u/fflorent)
#### Post date: [April 19, 2025, 7:20pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/17 "2025-04-19T19:20:19Z")

</div>

> [@razortide](#):
>
> thank you for your fast answer. I am a bit confused - what do I need to do to apply that change? Creating a new Silverbullet instance or is or something else?

just replace the content of the markdown files on the filesystem using SSH, or through your browser.

I suspect the changes made by Zef as he announced [in this post](https://community.silverbullet.md/t/silverbullet-v2-the-path-forward/2036/12) introduced a regression for all the Silverbullet instances (as described in my post below his message).

---

<div class="post-metadata">

### Author: ![razortide](https://community.silverbullet.md/user_avatar/community.silverbullet.md/razortide/32/1257_2.png) [@razortide](https://community.silverbullet.md/u/razortide)
#### Post date: [April 19, 2025, 7:40pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/18 "2025-04-19T19:40:17Z")

</div>

Gotcha! It works, as far as I can see! Any plans do update to V2?

---

<div class="post-metadata">

### Author: ![fflorent](https://community.silverbullet.md/user_avatar/community.silverbullet.md/fflorent/32/239_2.png) [@fflorent](https://community.silverbullet.md/u/fflorent)
#### Post date: [April 20, 2025, 2:22pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/19 "2025-04-20T14:22:56Z")

</div>

The V2 is not official yet, so not until then.

---

<div class="post-metadata">

### Author: ![doris](https://community.silverbullet.md/letter_avatar_proxy/v4/letter/d/7bcc69/32.png) [@doris](https://community.silverbullet.md/u/doris)
#### Post date: [September 4, 2025, 12:40pm UTC](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313/20 "2025-09-04T12:40:57Z")

</div>

Hello!

I can see that the Yunohost package has been updated to V2, thanks a lot!

I’ve just installed it but when I try to edit the index page, I keep getting this message:

```auto
Sync: conflict detected for index.md - conflict copy created

```

My edits are not saved, nor in the index page nor in the conflict copy page.

Also, the index page looks like this, with some raw html:

 ![Capture d’écran 2025-09-04 à 14.39.35](https://community.silverbullet.md/uploads/default/original/2X/6/64de94f6cc1ca573b1dda05162ed7c23f02c5682.png)

Thanks for your help.

[Next page](https://community.silverbullet.md/t/silverbullet-packaged-for-yunohost-to-easily-self-host-it/313.md?page=2)
