Skip to content

Cannot create or remove repos from web interface #539

@Chluz

Description

@Chluz

BorgWarehouse version : v3.1.1
Installation type :

  • Docker
  • Baremetal (Debian/Ubuntu)
  • Other environment :

Describe the bug
When attempting to do any action on repos (add, or delete) I get an error message :

Image

This did not happen with my previous install (I think version 2), and only started occurring with v3

When looking at the borgwarehouse logs I see

2025-07-20T06:24:45.573856+00:00 BorgWarehouse [Error: read ENOTCONN] {
2025-07-20T06:24:45.573885+00:00 BorgWarehouse   errno: -107,
2025-07-20T06:24:45.573889+00:00 BorgWarehouse   code: 'ENOTCONN',
2025-07-20T06:24:45.573892+00:00 BorgWarehouse   syscall: 'read'
2025-07-20T06:24:45.573895+00:00 BorgWarehouse }
2025-07-20T06:24:45.574957+00:00 BorgWarehouse  ⨯ uncaughtException:  [Error: read ENOTCONN] {
2025-07-20T06:24:45.574976+00:00 BorgWarehouse   errno: -107,
2025-07-20T06:24:45.574985+00:00 BorgWarehouse   code: 'ENOTCONN',
2025-07-20T06:24:45.574992+00:00 BorgWarehouse   syscall: 'read'
2025-07-20T06:24:45.574999+00:00 BorgWarehouse }
2025-07-20T06:24:45.575807+00:00 BorgWarehouse [Error: read ENOTCONN] {
2025-07-20T06:24:45.575817+00:00 BorgWarehouse   errno: -107,
2025-07-20T06:24:45.575820+00:00 BorgWarehouse   code: 'ENOTCONN',
2025-07-20T06:24:45.575823+00:00 BorgWarehouse   syscall: 'read'
2025-07-20T06:24:45.575825+00:00 BorgWarehouse }
2025-07-20T06:24:45.577191+00:00 BorgWarehouse  ⨯ uncaughtException:  [Error: read ENOTCONN] {
2025-07-20T06:24:45.577200+00:00 BorgWarehouse   errno: -107,
2025-07-20T06:24:45.577203+00:00 BorgWarehouse   code: 'ENOTCONN',
2025-07-20T06:24:45.577206+00:00 BorgWarehouse   syscall: 'read'
2025-07-20T06:24:45.577208+00:00 BorgWarehouse }
2025-07-20T06:24:45.578251+00:00 BorgWarehouse [Error: spawn /home/borgwarehouse/app/helpers/shells/createRepo.sh EACCES] {
2025-07-20T06:24:45.578267+00:00 BorgWarehouse   errno: -13,
2025-07-20T06:24:45.578272+00:00 BorgWarehouse   code: 'EACCES',
2025-07-20T06:24:45.578277+00:00 BorgWarehouse   syscall: 'spawn /home/borgwarehouse/app/helpers/shells/createRepo.sh',
2025-07-20T06:24:45.578281+00:00 BorgWarehouse   path: '/home/borgwarehouse/app/helpers/shells/createRepo.sh',
2025-07-20T06:24:45.578284+00:00 BorgWarehouse   spawnargs: [Array],
2025-07-20T06:24:45.578290+00:00 BorgWarehouse   cmd: '/home/borgwarehouse/app/helpers/shells/createRepo.sh ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA9AlJfPkvIhCkLOD0Pge/NEL9wS-rB1N7HvzN+04p5p ansible-generated on beast 100 false',
2025-07-20T06:24:45.578295+00:00 BorgWarehouse   stdout: '',
2025-07-20T06:24:45.578300+00:00 BorgWarehouse   stderr: ''
2025-07-20T06:24:45.578304+00:00 BorgWarehouse }

(key edited for anonymity)

When I run the following command on the docker container manually no issues arise: /home/borgwarehouse/app/helpers/shells/createRepo.sh ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA9AlJfPkvIhCkLOD0Pge/NEL9wS-rB1N7HvzN+04p5p ansible-generated on beast 100 false

I have also checked all permissions for all folder, and they are correctly set to 1001:1001, as set in env/docker compose file, everywhere.

Any idea what this could be caused by ?

To Reproduce
Steps to reproduce the behavior:

  1. Go to web interface
  2. Click on add repo
  3. Enter key, quota and alias and click add repository
  4. See error

Expected behavior
No error and repository is created

Additional context
This did not happen with my previous install (I think version 2), and only started occurring with v3

Please, BorgWarehouse's documentation
is up to date and comprehensive, so take the time to look for answers. You can also look for answers in the project's historical github issues. I take time to answer each issue, but it's always less time for BorgWarehouse development. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions