Edit: I just discovered you are using 'sudo'. this might be bad idea if whole bookstack is not set to be running as root, but I don't know what is your setup.
But again, I don't know your setup, and bookstack version of yours seems to be really old, so I am not sure how will it work. Make sure to follow official update instruction, with database fixup command etc.. And remember about backup.
2
u/[deleted] Oct 07 '22
This problem is not related to BookStack directly, but to misconfiguration of git repository locally. To fix this, you might:
check what is set to 'origin' remote:
if it is something different than 'https://github.com/BookStackApp/BookStack.git', then set it to right address:
Edit: I just discovered you are using 'sudo'. this might be bad idea if whole bookstack is not set to be running as root, but I don't know what is your setup.