Applenice opened a new issue #766:
URL: https://github.com/apache/apisix-dashboard/issues/766
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [X] Bug
- [ ] Requirements
- [ ] Feature or performance improvement
- [ ] Other
___
### Bug
- Which version of Apache APISIX Dashboard, OS, and Browser?
```
$ cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
$ git branch -v
* v2.0 9d4b371 docs: add makefile && modify develop and deploy docs (#729)
```
- What happened?
```
$ ./api/run.sh
panic: couldn't open sink
"/usr/local/src/apisix-dashboard/output/logs/error.log": open
/usr/local/src/apisix-dashboard/output/logs/error.log: no such file or directory
goroutine 1 [running]:
github.com/apisix/manager-api/log.fileWriter(0x1555a50, 0xc000202900)
/usr/local/src/apisix-dashboard/api/log/zap.go:78 +0x1fc
github.com/apisix/manager-api/log.init.0()
/usr/local/src/apisix-dashboard/api/log/zap.go:31 +0x34
```
___
### Requirements or improvement
Currently, the startup problem is solved by manually creating files
`/logs/error.log`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]