Permission denied errors accessing access_log and error_log

My rtorrent was running fine for months then all the sudden it stopped working when i was looking at logs i saw this. I believe its because of the /config/access.log failed permission denied but when i tried googling it i couldn’t really come across an answer to fix it.

[`2020/12/26 20:35:55 [emerg] 1890#1890: open() “/config/access.log” failed (13: Permission denied)

2020-12-26 20:35:55,910 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 140578624621488 for <Subprocess at 140578624621440 with name ruto
rrent-script in state RUNNING> (stdout)>
2020-12-26 20:35:55,910 DEBG fd 20 closed, stopped monitoring <POutputDispatcher at 140578624680336 for <Subprocess at 140578624621440 with name ruto
rrent-script in state RUNNING> (stderr)>
2020-12-26 20:35:55,911 INFO exited: rutorrent-script (exit status 1; not expected)
2020-12-26 20:35:55,911 DEBG received SIGCHLD indicating a child quit
2020-12-26 20:36:01,169 DEBG ‘watchdog-script’ stdout output:
[info] rTorrent process started
[info] Waiting for rTorrent process to start listening on port 5000…

2020-12-26 20:36:01,177 DEBG ‘watchdog-script’ stdout output:
[info] rTorrent process listening on port 5000

2020-12-26 20:36:01,178 DEBG ‘watchdog-script’ stdout output:
[info] Initialising ruTorrent plugins (checking rTorrent is running)…

2020-12-26 20:36:01,186 DEBG ‘watchdog-script’ stdout output:
[info] rTorrent running
[info] Initialising ruTorrent plugins (checking nginx is running)…

when i try to go to it in my browser i get this error. I’m guessing because permissions is denied error it wont grab the plugins and i dont know how to fix it.

[26.12.2020 20:41:01] WebUI started.
[26.12.2020 20:41:01] Bad response from server: (0 [error,getplugins])

1 Like