Cannot access to repository

25 views
Skip to first unread message

Nicolas THOREZ

unread,
Mar 28, 2025, 9:31:25 AM3/28/25
to Minarca Data Backup
Hi.
I've got a problem to access repository.

I have installed the server (Debian 12, fresh install) and a client (Win11). Backup is OK but when I want to browse repository as admin and as user, I get a 403 error.

Here, the logs :

[2025-03-28 14:24:20,316][DEBUG  ][10.30.3.10][nicolas.thorez][CP Server Thread-8][rdiffweb.core.librdiff] pid [4050] does not exists
[2025-03-28 14:24:20,317][ERROR  ][10.30.3.10][nicolas.thorez][CP Server Thread-8][cherrypy.error.140089223937232] HTTP
Traceback (most recent call last):
  File "/opt/minarca-server/lib/python3.11/site-packages/cherrypy/_cprequest.py", line 659, in respond
    self._do_respond(path_info)
  File "/opt/minarca-server/lib/python3.11/site-packages/cherrypy/_cprequest.py", line 718, in _do_respond
    response.body = self.handler()
                    ^^^^^^^^^^^^^^
  File "/opt/minarca-server/lib/python3.11/site-packages/cherrypy/lib/encoding.py", line 223, in __call__
    self.body = self.oldhandler(*args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/minarca-server/lib/python3.11/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/minarca-server/lib/python3.11/site-packages/rdiffweb/controller/page_browse.py", line 52, in default
    dir_entries = repo.listdir(path)
                  ^^^^^^^^^^^^^^^^^^
  File "/opt/minarca-server/lib/python3.11/site-packages/rdiffweb/core/librdiff.py", line 1021, in listdir
    raise AccessDeniedError('%s make reference outside the repository' % self._decode(path))
rdiffweb.core.librdiff.AccessDeniedError:  make reference outside the repository


Can someone help me, please ?

Regards,
Nicolas THOREZ

Patrik Dufresne

unread,
Mar 28, 2025, 9:37:51 AM3/28/25
to min...@googlegroups.com
Hello Nicolas,

Are you using symlink ? If any of the folder to your repository is a symbolic link, this error gets raised. I will not get into the technicalities, but this is required as a security measure.

--
You received this message because you are subscribed to the Google Groups "Minarca Data Backup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minarca+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/minarca/d3f2a046-0980-479e-8b17-1f1a7fefe6c2n%40googlegroups.com.


--
** Par mesure d'efficacité, je consulte mes courriels une fois par jour.
IKUS Software
Message has been deleted

Nicolas THOREZ

unread,
Mar 28, 2025, 2:11:21 PM3/28/25
to Minarca Data Backup
Hi.

You're right. My repository was a symlink of a mounted hard drive. I've changed this configuration and, now, it's correctly working. Thanks a lot.

Nicolas THOREZ
Reply all
Reply to author
Forward
0 new messages