Comments (6)
So after taking some time and finding out that I didn't care for Gaseious's UI compared to RomM, I sat back down and tried to figure out what was going on. Turns out it was NginX.....
So if you have NginX working with your domains make sure you have "Websocket Supports" enabled or RomM can't find games. This is totally on me and not RomM. Happy to say I'm really enjoying the experience now! Apologies!
from romm.
If you see the logs, the previous line to the last one say Can't connect to local server through socket '/run/mysqld/mysqld.sock'
, that usually means that the mariadb
container didn't start properly, it's not running or the RomM container can't connect to it due to docker network issues. Make sure that RomM have access to your mariadb
container (check the mariadb logs), both are in the same docker network, the DB_HOST is good (you can try putting your server hostname instead of the mariadb container) and then restart the RomM container.
Apart from that, some users reported issues with the official mariadb image and got their problems fixed with the linuxserver version: https://hub.docker.com/r/linuxserver/mariadb
from romm.
Apart from that, some users reported issues with the official mariadb image and got their problems fixed with the linuxserver version: https://hub.docker.com/r/linuxserver/mariadb\
That's wild that we have to use a version that isn't linked here. There should be a note in the three different instructions to use linuxserver's image.
That fixed things for a moment, but now I am unable to set the DB_USER and DB_PASSWD without it saying "something went horribly wrong with our database" again. I've delete the docker images, mariadb, and attempted finding the database, but there's been no luck with the first two and there's no documentation that I have seen that points to the database created by the compose.yaml.
from romm.
Got it working. Hopefully if anyone stumbles upon this post these steps will help you:
Delete the corrupted docker containers created by RomM and Mariadb
- Use
docker ps
and find anything that mentions Mariadb or RomM - Use
docker remove
and use the container's ID (first column in the CLI/CMD)
Try manually deleting the container
- Navigate to
/var/lib/docker/containers
and delete the folder whose name matches the container ID
Google Deleting Mariadb databases
- I wish I could outline the steps, but I'm not sure if one (if any) actually worked. This may end up working for you
The documentation needs to include use of linuxserver.io's image of Mariadb, as RomM does not function with the official image.
EDIT: Got the webui running and can log in, however RomM refuses to find any games, even after following the "recommended" filesystem layout indicted by the dev. RomM has the permissions and the config/compose are set up exactly the same, but it still refuses to look and scans indefinitely. Moved over to Gaseous-Server and it picks it up no problem. Switching to that instead. Hopefully RomM comes out with more updates.
from romm.
That's wild that we have to use a version that isn't linked here. There should be a note in the three different instructions to use linuxserver's image.
We've added a note for this in the compose, which will make it's way to the release
branch on next release (shortly).
Delete the corrupted docker containers created by RomM and Mariadb
If you've use the default container names from the compose, this can be done with docker compose stop romm romm-db; docker compose rm romm romm-db
. No need to navigate to /var
, which requires sudo permissions to access.
I wish I could outline the steps, but I'm not sure if one (if any) actually worked
If you're using a separate mariadb instance for romm, deleting the volume with docker volume rm mysql_data
(or whatever your system labeled the volume) will work.
RomM does not function with the official image
It does it most cases, I'm currently using it and have been for a while now. That being said the option is there for those who have issues with the official image.
Moved over to Gaseous-Server and it picks it up no problem
Gaseous is an awesome project, and I wish you much success with it!
from romm.
Glad to hear you got it working!
make sure you have "Websocket Supports" enabled
You're not the first to come across this issue, but I appreciate you updating the issue for the next person who searches for "nginx" and "websockets". When I have some time on our hands, I'm going to improve (i.e. actually write) docs on running RomM with caddy, nginx, npm, with cloudflare tunnels, tailscale, on a vps... you get the idea.
I didn't care for Gaseious's UI
If you have specific feedback on Gaseous' UI, Micheal (the dev behind the project) is very receptive to feedback, and I'm sure would appreciate hearing your thoughts.
from romm.
Related Issues (20)
- [Bug] Scanning unidentified still scans identified games HOT 4
- [Bug] "Abort" option doesn't work when scanning HOT 1
- [Bug] Unable to upload ROMS HOT 9
- [Feature] Favorites & Labels for Saves & States
- [Bug] IGDB metadata with unicode characters causes errors HOT 2
- [Bug] Profile image and app icon sometimes produce a 404 HOT 1
- [Bug] Websocket connection failure HOT 2
- [Feature] Allow "viewer" role users access to Firmware/BIOS menu. HOT 1
- [Feature] Preferred/Default Game Language
- [Bug] Custom Covers Not Saved HOT 1
- [Bug] Game launch - network error HOT 6
- [Feature] Group games without metadata match as siblings
- [Feature] More fine-grained control over searches HOT 1
- [Feature] Upload Additional Files (Updates, Patches, DLC, Mods, etc) HOT 3
- [Feature] Library Wide Filtering
- [Question] Can files be "reasonably" replaced? HOT 1
- [Bug] joserfc.errors.InvalidKeyTypeError: invalid_key_type: Algorithm "RS256" requires "RSA" key HOT 2
- [Feature] Auto-generated collections for franchises
- [Feature] Shared collections
- ROMM detecting platforms (the folders) but not the ROMS (the roms inside the folders) HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from romm.