changed /opt/sandstorm/var/sandstorm to 770, root:sandstorm and deleted the old token file, it worked after that.