generate error
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 274
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 103
Description
I am trying to install owncloud OCIS on Ubuntu 22.10 VM inside Proxmox VE, according github instruction
## Steps to reproduce
1. make generate => got error
```
generating protobuf content
cd ../../protogen/proto && /root/go/bin/buf-v1.39.0 generate
Failure: 403 Forbidden
make[1]: *** [../../.make/protobuf.mk:24: /opt/ocis/protogen/buf.sha1.lock] Error 1
make[1]: Leaving directory '/opt/ocis/services/settings'
make: *** [Makefile:146: generate] Error 1
```
2. try
```
cd protogen/proto && /root/go/bin/buf-v1.39.0 generate
Failure: 403 Forbidden
```
3. add debug info
```
root@ocis:/opt/opencloud# cd protogen/proto && /root/go/bin/buf-v1.39.0 generate --debug --verbose
DEBUG buffetch no termination found {"path": "opt/opencloud/protogen/proto"}
DEBUG buffetch no termination found {"path": "."}
DEBUG targeting workspace with no found buf.work.yaml or v2 buf.yaml {"subDirPath": "."}
DEBUG buffetch no termination found {"path": "."}
DEBUG commit store dir read write bucket {"digestType": "shake256", "registry": "buf.build", "commitID": "62f35d8aed1149c291d606d958a7ce32", "dirPath": "shake256/buf.build"}
DEBUG commit store get file {"digestType": "shake256", "registry": "buf.build", "commitID": "62f35d8aed1149c291d606d958a7ce32", "found": false, "error": "stat shake256/buf.build/62f35d8aed1149c291d606d958a7ce32.json: file does not exist"}
DEBUG buf.registry.module.v1beta1.CommitService/GetCommits {"duration": "424.958744ms", "status": "Error", "net.peer.name": "buf.build", "rpc.system": "connect_rpc", "rpc.service": "buf.registry.module.v1beta1.CommitService", "rpc.method": "GetCommits", "rpc.connect_rpc.error_code": "permission_denied", "message.type": "SENT", "message.id": 1, "message.uncompressed_size": 38, "message.type": "RECEIVED", "message.id": 1, "message.uncompressed_size": 0}
DEBUG github.com/bufbuild/buf/private/buf/bufctl.(*controller).getWorkspaceForSourceRef {"duration": "426.475104ms", "status": "Error", "exception.type": "*fs.PathError", "exception.message": "decode buf.lock: permission_denied: 403 Forbidden"}
DEBUG command {"duration": "437.931982ms", "status": "Unset"}
Failure: 403 Forbidden
```
seems it cannot get to github somewhy
Contributor guide
Assessment
This issue has not been assessed yet.