Closed TickTockBent closed 3 years ago
Does this happen only with this repo, or all repos you add? Also have you tried restarting the bot and retrying adding this repo? I have run the command exactly as you have above for adding the repo and it works on my bot.
Of note, NFS shares in the past have been an issue for some users.
It happens regardless of the repo, I have attempted it on 3 so far.
I have double checked, the folders in questioned are owned by UID 1000 which the bot is running as. As that user I can manually add/remove folders and files but the logs (which I accidentally left off, my apologies) show:
fatal: Unable to create temporary file '/data/cogs/RepoManager/repos/OB13-Cogs/.git/objects/pack/tmp_pack_XXXXXX': Permission denied
fatal: index-pack failed
$ docker-compose restart
Restarting redbot.ttbot ... done
[8:16 PM] TickTockBent: !!repo add cbd-cogs https://gitlab.com/CrunchBangDev/cbd-cogs
[8:16 PM] BOT TTBot: You're about to add a 3rd party repository. The creator of Red and its community have no responsibility for any potential damage that the content of 3rd party repositories might cause.
By typing 'I agree' you declare that you have read and fully understand the above message. This message won't be shown again until the next reboot.
You have 30 seconds to reply to this message.
[8:16 PM] TickTockBent: I agree
[8:16 PM] BOT TTBot: Something went wrong during the cloning process. See logs for more information.
Restarted it and re-attempted, still no joy. I'll try it not using the NFS share.
Alright, it does work using local storage on the pi so it appears there is a configuration issue on my end, apologies for taking up your time.
Describe the bug Attempting to add a repo for installation
[p]repo add OB13-Cogs https://github.com/Obi-Wan3/OB13-Cogs
"Something went wrong during the cloning process. See logs for more information."-More Information-
Run command
Environment info:
Additional context /mnt/pibots is an NFS share mounted from a NAS which has the IP whitelisted for r/w access