We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running through the "get started" section in the readme on a fresh macbook results in a permission error when it tries to write some logs.
$ ./bin/dendrite-monolith-server --tls-cert server.crt --tls-key server.key --config dendrite.yaml FATA[2020-12-16T06:39:03.379411000Z] [github.com/matrix-org/dendrite/internal/log.go:155] setupFileHook Couldn't create directory /var/log/dendrite: "mkdir /var/log/dendrite: permission denied"
It seems necessary to use sudo when launching Dendrite to get it to work out of the box.
sudo
Yes, this can be configured in your dendrite.yaml config under logging
dendrite.yaml
logging
server_name
The text was updated successfully, but these errors were encountered:
We really shouldn't be using /var/log at all as a log location imo. ./logs would be better since we'll be more likely to be able to write to it.
/var/log
./logs
Sorry, something went wrong.
Use log directory that we will be able to write to
3e32073
Fix #1644
49798cf
Use log directory that we will be able to write to (#1799)
0ee1c56
Tak/hnt-910 add a hook to get channel settings from the contract (mat…
4390f6d
…rix-org#1644)
MadLittleMods
Successfully merging a pull request may close this issue.
Running through the "get started" section in the readme on a fresh macbook results in a permission error when it tries to write some logs.
$ ./bin/dendrite-monolith-server --tls-cert server.crt --tls-key server.key --config dendrite.yaml FATA[2020-12-16T06:39:03.379411000Z] [github.com/matrix-org/dendrite/internal/log.go:155] setupFileHook Couldn't create directory /var/log/dendrite: "mkdir /var/log/dendrite: permission denied"
It seems necessary to use
sudo
when launching Dendrite to get it to work out of the box.Can the log directory be configured?
Yes, this can be configured in your
dendrite.yaml
config underlogging
Potential solutions
logging
in addition to theserver_name
The text was updated successfully, but these errors were encountered: