./gogs web 启动异常,不能正常启动,[...o/gogs/internal/route/install.go:75 GlobalInit()]

文章描述了在运行Gogs(一个轻量级的Git服务端)0.12.10版本时,尝试初始化ORM(对象关系映射)引擎时遇到的问题,错误提示为无法打开xorm.log文件,原因是权限不足。
摘要由CSDN通过智能技术生成

PS F:\tool\GIT\gogs_0.12.10_windows_amd64\gogs> .\gogs.exe web
2024/02/19 15:27:56 [ INFO] Gogs 0.12.10
2024/02/19 15:27:56 [FATAL] [...o/gogs/internal/route/install.go:75 GlobalInit()] Failed to initialize ORM engine: create 'xorm.log': init: init file "F:\\tool\\GIT\\gogs_0.12.10_windows_amd64\\gogs\\log\\xorm.log": open file "F:\\tool\\GIT\\gogs_0.12.10_windows_amd64\\gogs\\log\\xorm.log": open F:\tool\GIT\gogs_0.12.10_windows_amd64\gogs\log\xorm.log: Access is denied.

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值