Added by Alex Zuev about 7 years ago
Hello everyone,
I've ocasionally deleted production.log and now it doesn't work. What should I do? Ho can I create it again?
I've tried
sudo -u redmine -H touch log/production.log
but it doesn't work.
What's wrong with the "plain old method"?
sudo su - redmine cd <redmine installation dir>/log touch production.log chmod 0644 production.log ls -la # should print: "-rw-r--r--. 1 redmine redmine 370071 Oct 15 17:03 production.log" exit sudo systemctl restart nginx # or whatever needed to restart RedMine