docker 部署tb Error opening log file ‘/var/log/thingsboard/tb-monolith1-gc.log

docker 部署tb Error opening log file '/var/log/thingsboard/tb-monolith1-gc.log

Note that if this error occurs, it means that you have already started a startup without granting permissions to the configuration file. At this time, the mounting file has actually been generated. Even if you grant permissions to the configuration file, the above message will still appear. Report an error. Therefore, if you want to solve the above problems at once, you need to empower two places.

1. The log folder under the configuration file. Perform chmod 777 authorization

2. After starting once, perform chmod 777 to empower the log file that has been mounted.

Then restart tb and successfully solve the problem 

Guess you like

Origin blog.csdn.net/qq_38377190/article/details/130925370