ERROR conduwuit: Critical error running server: I/O error: Permission denied (os error 13) #734
Labels
No labels
Bug
Cherry-picking
Dependencies
Documentation
Duplicate
Enhancement
Good first issue
Help wanted
Inherited
Invalid
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Federation
Matrix/MSC
Matrix/Media
Meta
Performance
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Priority
Unknown
Security
Wont fix
no-priority
old/blocked
old/ci/cd
old/core-matrix
old/database
old/github_actions
old/high-priority
old/low-priority
old/medium-priority
old/question
old/rocksdb
old/rust
packaging
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: continuwuation/continuwuity#734
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Good evening,
I have this error :
DEVNAME not found
?I use v0.5.0-rc3/x86_64-linux-musl-debug.deb (same error with 0.4.6)
then dpkg -i then edit toml and then
su -s/bin/bash conduwuit -c "RUST_LOG=debug RUST_BACKTRACE=1 /usr/sbin/conduwuit -c /etc/conduwuit/conduwuit.toml"
...
I precise, I'm in an incus system container Debian 13 with:
No Error, when I run in root :
/usr/sbin/conduwuit -c /etc/conduwuit/conduwuit.toml
In fact, yes, the first mistake : DEVNAME but not the critical, I have access to the admin console.
Any ideas ?
thx in advance.
ps: All log in PJ. :
a.log
Thanks for providing the log. We can rule out DEVNAME, the database directory, or the media directory being the source of the issue. Unfortunately it's not clear what the source of the error is, and I can't think of anything required of the filesystem beyond the aforementioned.
There are a few things we can do to expose the cause, the first and easiest might be to increase the log level to
trace
. If that doesn't show anything it can be further increased with-Olog_span_events=\"full\"
. If that still doesn't show anything, running the application understrace -f
will almost certainly show what is being denied by the operating system.strace
has filters if it becomes too cumbersome to find the needle in the haystack, but it will be in there.Sorry about this inconvenience. This problem looks very fixable so I hope we can get to the bottom of it.
Thank you very much for your advices @jevolk, I follow it ;
strace
shows:I/O error: DEVNAME not found.
: I think it's because/sys/dev/block/0:88/...
don't exist but it's non-blockingI/O error: Permission denied (os error 13)
, I'm ashamed it's because the keys for TLS weren't readable to user conduwuit. And more, we are warned : "It is strongly recommended that you use a reverse proxy instead of running conduwuit directly with TLS.". Shame on me !Just in case for the first error :
strace.log
It probably should return a cleaner/nicer error though that's less confusing.