mirror of
https://github.com/EliteMasterEric/awesome-lego-universe.git
synced 2024-11-25 06:57:21 +00:00
2.0 KiB
2.0 KiB
Google Cloud Setup - Troubleshooting Guide
Error: No such table Activity rewards! Fatal error, stacktrace...
Make sure you are running the Darkflame Universe server in the same working directory.
Instead of:
$: ~/DarkflameServer/build/MasterServer
You need to instead run:
cd ~/DarkflameServer/build
./MasterServer
I can connect to the Account manager but not to the game!
Make sure your Firewall settings are correct. You may need to edit them such that both the TCP and UDP ports are open.
I tried to write a file to the Google Cloud bucket but got a 403 Forbidden error!
This error occurs when the instance's service account does not have the correct permissions to write to the bucket.
Follow the steps below to configure the instance:
- Go to the Google Cloud Console and navigate to the Compute Engine tab.
- Select the instance and click
Stop
. This will temporarily shut down the server and stop the instance. You will be able to start it back up later. - Click the instance name in the list of instances to open up the details page, then click
Edit
at the top. - Scroll down to the subheading named
Access scopes
and selectAllow full access to all Cloud APIs
. - Click
Save
to save the changes. - Click
Start/Resume
to start the instance back up. Then run the commands from Run the Server again.
We've configured the instance and now we need to configure the bucket.
- Scroll down to the bottom of the details page for the instance and copy the
Service Account
value. - Go back to the Storage view and open the details page for your bucket.
- Move to the
Permissions
tab and clickAdd
. - For the principal, paste the
Service Account
value from the previous step. - Under roles, add the role
Storage Object Viewer
, then clickAdd another role
and add the roleStorage Object Creator
. - Back on the instance, run
rm -rf ~/.gsutil
to clear out any cached credentials.
Any file write commands should now work.