# \[BorgWarehouse\] WebUI for BorgBackup

**URL:** <https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802>\
**Category:** Apps\
**Tags:** borgserver, borg, french, english\
**Created:** [October 17, 2023, 4:04pm UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802 "2023-10-17T16:04:25Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)\
**Post date:** [October 17, 2023, 4:04pm UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/1 "2023-10-17T16:04:25Z")

</div>

# BorgWarehouse for YunoHost

[![Integration level](https://dash.yunohost.org/integration/borgwarehouse.svg)](https://dash.yunohost.org/appci/app/borgwarehouse) ![Working status](https://ci-apps.yunohost.org/ci/badges/borgwarehouse.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/borgwarehouse.maintain.svg)

[![Install BorgWarehouse with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=borgwarehouse)

## Overview

BorgWarhouse is a fast and modern WebUI for a BorgBackup’s central repository server.

**Shipped version:** 2.0.0~ynh1

## Screenshots

![Screenshot of BorgWarehouse](https://raw.githubusercontent.com/YunoHost-Apps/borgwarehouse_ynh/testing/doc/screenshots/screenshot.png)

## Documentation and resources

- Upstream YunoHost code repository: [https://github.com/YunoHost-Apps/borgwarehouse\_ynh](https://github.com/YunoHost-Apps/borgwarehouse_ynh)
- Official app website: [https://borgwarehouse.com/](https://borgwarehouse.com/)
- Official admin documentation: [https://borgwarehouse.com/docs/admin-manual/debian-installation/](https://borgwarehouse.com/docs/admin-manual/debian-installation/)
- Upstream app code repository: [https://github.com/ravinou/borgwarehouse](https://github.com/ravinou/borgwarehouse)
- Report a bug: [https://github.com/YunoHost-Apps/borgwarehouse\_ynh/issues](https://github.com/YunoHost-Apps/borgwarehouse_ynh/issues)

---

<div class="post-metadata">

**Author:** ![Mamie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mamie/32/1245_2.png) [@Mamie](https://forum.yunohost.org/u/Mamie)\
**Post date:** [October 18, 2023, 10:39am UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/2 "2023-10-18T10:39:44Z")

</div>

Is it possible to have a little documentation to be able to point it to the different borg servers I have already installed on my server ?  
(I have 3 of them, one for daily backups of one app + system, one for weekly of ALL apps, and one for a distant backup)

---

<div class="post-metadata">

**Author:** ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)\
**Post date:** [October 18, 2023, 10:42am UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/3 "2023-10-18T10:42:07Z")

</div>

Same as per Element-call. brut de décoffrage for this one as well. Testing and feedback will be needed to fine tune the app.

---

<div class="post-metadata">

**Author:** ![Mamie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mamie/32/1245_2.png) [@Mamie](https://forum.yunohost.org/u/Mamie)\
**Post date:** [October 18, 2023, 12:10pm UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/4 "2023-10-18T12:10:58Z")

</div>

Oh, it seems that it is a borg server, and can only monitor repositories created by itself.

> BorgWarehouse is based on [BorgBackup](https://www.borgbackup.org/) and only handles the server side. Your backups remain encrypted from end to end by your Borg client.

---

<div class="post-metadata">

**Author:** ![M1k3](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/cdc98d/32.png) [@M1k3](https://forum.yunohost.org/u/M1k3)\
**Post date:** [November 10, 2023, 8:05pm UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/5 "2023-11-10T20:05:11Z")

</div>

Petit sujet, j’ai installé l’application, mais lorsque j’essaye de créer mon premier repository j’ai un message d’erreur qui apparait en haut à droite en rouge mentionnant `An error has occured : /home/borgwarehouse/.ssh/authorized_keys must be present`

Effectivement après vérification, le compte n’existe pas, et n’a donc pas été créé durant l’installation. Comme il n’y a pas de documentation réelle, je ne sais pas si l’on doit créer ou pas l’utilisation ? Je pense qu’il pourrait être interressant que cette application soit liée à un utilisateur déjà existant…

---

<div class="post-metadata">

**Author:** ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)\
**Post date:** [November 11, 2023, 5:28pm UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/6 "2023-11-11T17:28:01Z")

</div>

Ah yes, we are installing the app to `/var/www/borgwarehouse` path… I guess the `authorized_keys` path is hard coded.  
I am trying to add the path in this branch: [Path by ericgaspar · Pull Request #2 · YunoHost-Apps/borgwarehouse\_ynh · GitHub](https://github.com/YunoHost-Apps/borgwarehouse_ynh/pull/2)

---

<div class="post-metadata">

**Author:** ![hook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hook/32/8965_2.png) [@hook](https://forum.yunohost.org/u/hook)\
**Post date:** [January 6, 2024, 4:10pm UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/7 "2024-01-06T16:10:22Z")

</div>

Do I need to run the BorgBackup app as well in order to actually make the backups? If so, it would be great if the app’s documentation said so.

---

<div class="post-metadata">

**Author:** ![Mamie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mamie/32/1245_2.png) [@Mamie](https://forum.yunohost.org/u/Mamie)\
**Post date:** [January 8, 2024, 9:30am UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/8 "2024-01-08T09:30:15Z")

</div>

This is not needed at all.  
You can use borg + borgserver, OR borg + borgwarehouse, but not borg + borgserver + borgwarehouse (as borgserver and borgwarehouse works as a borg server)

---

<div class="post-metadata">

**Author:** ![hook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hook/32/8965_2.png) [@hook](https://forum.yunohost.org/u/hook)\
**Post date:** [January 8, 2024, 12:24pm UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/9 "2024-01-08T12:24:32Z")

</div>

If BorgWarehouse should include `borg` (the command and server), then there is an issue with the app itself:

> <https://github.com/YunoHost-Apps/borgwarehouse_ynh/pull/2#issuecomment-1879763480>
>
> I tried again to init a backup repository with \`borg init --debug -e repokey-bla…ke2 \[…\]\` and I get:
> 
> \`\`\`
> sing builtin fallback logging configuration
> 33 self tests completed in 0.04 seconds
> SSH command line: \['ssh', '-p', '22', '{redacted}', 'borg', 'serve', '--debug'\]
> Remote: ssh: connect to host {redacted} port 22: Connection refused
> Connection closed by remote host. Is borg working on the server?
> Traceback (most recent call last):
> File "/usr/lib/python3.11/site-packages/borg/archiver.py", line 5343, in main
> exit\_code = archiver.run(args)
> ^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/site-packages/borg/archiver.py", line 5263, in run
> return set\_ec(func(args))
> ^^^^^^^^^^
> File "/usr/lib/python3.11/site-packages/borg/archiver.py", line 167, in wrapper
> repository = RemoteRepository(location.omit\_archive(), create=create, exclusive=argument(args, exclusive),
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/site-packages/borg/remote.py", line 578, in \_\_init\_\_
> raise ConnectionClosedWithHint('Is borg working on the server?') from None
> borg.remote.ConnectionClosedWithHint: Connection closed by remote host. Is borg working on the server?
> 
> Platform: Linux leza 6.6.8-zen1-1-zen #1 ZEN SMP PREEMPT\_DYNAMIC Thu, 21 Dec 2023 19:00:41 +0000 x86\_64
> Linux: Unknown Linux  
> Borg: 1.2.7 Python: CPython 3.11.6 msgpack: 1.0.5 fuse: llfuse 1.5.0 \[pyfuse3,llfuse\]
> PID: 239375 CWD: /home/hook
> sys.argv: \['/usr/bin/borg', 'init', '--debug', '-e', 'repokey-blake2', 'ssh://borgwarehouse@{redacted}'\]
> SSH\_ORIGINAL\_COMMAND: None
> \`\`\`

---

<div class="post-metadata">

**Author:** ![wbk](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@wbk](https://forum.yunohost.org/u/wbk)\
**Post date:** [January 14, 2024, 2:25pm UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/10 "2024-01-14T14:25:04Z")

</div>

Reading the description, I also expected BorgWarehouse to be a web frontend for an existing Borg-server (not just the Yuno-app description, also byline on its website does not mention it _is_ the server, instead of only a GUI).

> [@hook](#):
>
> > [@Mamie](#):
> >
> > > [@hook](#):
> > >
> > > Do I need to run the BorgBackup app
> > 
> > This is not needed at all.  
> > You can use borg + borgserver, OR borg + borgwarehouse, (…)
> 
> If BorgWarehouse should include `borg` …

After reading the second line of the reply, I think Mamie misread BorgBackup for BorgServer

---

<div class="post-metadata">

**Author:** ![sydneyb](https://forum.yunohost.org/user_avatar/forum.yunohost.org/sydneyb/32/2315_2.png) [@sydneyb](https://forum.yunohost.org/u/sydneyb)\
**Post date:** [January 26, 2025, 7:45am UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/11 "2025-01-26T07:45:30Z")

</div>

Hello,  
I’m trying to put the directory on an external harddrive connected to the server, but I’m not sure on how to do this. any clue ?

---

<div class="post-metadata">

**Author:** ![alphawk](https://forum.yunohost.org/user_avatar/forum.yunohost.org/alphawk/32/11986_2.png) [@alphawk](https://forum.yunohost.org/u/alphawk)\
**Post date:** [May 8, 2025, 11:21am UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/12 "2025-05-08T11:21:44Z")

</div>

Hi, you can create a symlink that points the repos folder to the actual folder you want to use. Make sure to set correct ownership (borgwarehouse:www-data) both on the symlink and on actual target folder.

---

<div class="post-metadata">

**Author:** ![sydneyb](https://forum.yunohost.org/user_avatar/forum.yunohost.org/sydneyb/32/2315_2.png) [@sydneyb](https://forum.yunohost.org/u/sydneyb)\
**Post date:** [May 8, 2025, 11:58am UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/13 "2025-05-08T11:58:16Z")

</div>

ahhhhh, I messed up the ownership of the target folder then cause the distant directory is on a FAT hard drive where I believe it’s not handled properly. I’ll try again tonight. Thank you

---

<div class="post-metadata">

**Author:** ![PP44](https://forum.yunohost.org/user_avatar/forum.yunohost.org/pp44/32/1779_2.png) [@PP44](https://forum.yunohost.org/u/PP44)\
**Post date:** [April 22, 2026, 10:06pm UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/14 "2026-04-22T22:06:11Z")

</div>

Hey, here in april 2026, still have an error reading :

`An error has occured : /home/borgwarehouse/.ssh/authorized_keys must be present`

Is there an easy fix, something to do post-install to get it working ? Bonus point if the fix does not have to be executed again after a reboot or an update of the app !

Thank you to anyone putting time in this project ❤

---

<div class="post-metadata">

**Author:** ![Qprq](https://forum.yunohost.org/user_avatar/forum.yunohost.org/qprq/32/6217_2.png) [@Qprq](https://forum.yunohost.org/u/Qprq)\
**Post date:** [May 31, 2026, 3:31pm UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/15 "2026-05-31T15:31:07Z")

</div>

I looked into it, but I don’t think there is. The app is installed in `/home/yunohost.app/borgwarehouse`, but `/home/borgwarehouse` is assumed by some parts of the code. In the current state, the frontend wants to modify `/home/borgwarehouse/.ssh/authorized_keys`, but the ssh connection is tested against `/home/yunohost.app/borgwarehouse/.ssh/authorized_keys`. The borg clients put files in `/home/borgwarehouse/repos`, but the app looks in `/home/yunohost.app/borgwarehouse/repos`.

You could fix it with symlinks, but I don’t know if it’s update safe.

---

<div class="post-metadata">

**Author:** ![Qprq](https://forum.yunohost.org/user_avatar/forum.yunohost.org/qprq/32/6217_2.png) [@Qprq](https://forum.yunohost.org/u/Qprq)\
**Post date:** [August 25, 2026, 5:37pm UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/16 "2026-08-25T17:37:52Z")

</div>

> [@Qprq](#):
>
> You could fix it with symlinks, but I don’t know if it’s update safe.

Apparently, it’s not. Next update failed, and removing and re-installing the app failed. I had to remove stale parts of the app manually and to recreate the repos manually after re-intall. I’m not shure if this is related to the symlinks or not. I’ll wait for the next update and see…

---

<div class="post-metadata">

**Author:** ![hook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/hook/32/8965_2.png) [@hook](https://forum.yunohost.org/u/hook)\
**Post date:** [August 26, 2026, 6:35am UTC](https://forum.yunohost.org/t/borgwarehouse-webui-for-borgbackup/26802/17 "2026-08-26T06:35:26Z")

</div>

The update has failed for me too.

Perhaps it’d be best to open a issue on GitHub for it.

I think the current maintainer is not a user of the package, so not actively testing it works. (Not a knock on them, at least someone bumps the version and checks the installer works, which is more than I’m doing)
