Nevermind, fixed it, my file permissions were a bit fucked up, just had to run it with sudo