Jump to content

[Support] Eurotimmy - RomM (ROM Manager) by zurdi15


Recommended Posts

On 6/22/2024 at 1:04 PM, d3fc0n0wltraps said:

I haven't messed with Romm in a little while - it was working fine on 3.x previously - and today trying to use it the WebUI doesn't work.

 

Looking in my logs I see the following;
 

INFO: [init][2024-06-22 12:58:07] Starting up, please wait...

INFO: [init][2024-06-22 12:58:12] starting redis-server

11:C 22 Jun 2024 12:58:12.814 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.

11:C 22 Jun 2024 12:58:12.814 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo

11:C 22 Jun 2024 12:58:12.814 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=11, just started

11:C 22 Jun 2024 12:58:12.814 * Configuration loaded

11:M 22 Jun 2024 12:58:12.815 * monotonic clock: POSIX clock_gettime

11:M 22 Jun 2024 12:58:12.815 * Running mode=standalone, port=6379.

11:M 22 Jun 2024 12:58:12.815 * Server initialized

11:M 22 Jun 2024 12:58:12.816 * Loading RDB produced by version 7.2.4

11:M 22 Jun 2024 12:58:12.816 * RDB age 122447 seconds

11:M 22 Jun 2024 12:58:12.816 * RDB memory usage when created 11.05 Mb

11:M 22 Jun 2024 12:58:12.856 * Done loading RDB, keys loaded: 16, keys expired: 2.

11:M 22 Jun 2024 12:58:12.857 * DB loaded from disk: 0.042 seconds

11:M 22 Jun 2024 12:58:12.857 * Ready to accept connections tcp

INFO: [RomM][2024-06-22 12:58:14] Connecting to redis in /backend/bin/alembic...

INFO: [RomM][2024-06-22 12:58:14] Redis connection established in /backend/bin/alembic!

 

And it just waits forever after that. No failure to connect to maria, etc., I did try the changes listed by ktfcaptain and those unfortunately did not make a difference.

Found my issue - I had been previously playing with disk mappings and mover. This broke my maria container in such a way that it would start without error and "accept" connections, but those connections would just hang forever instead of actually succeeding or failing.

 

I  wouldn't expect Romm to handle this any more gracefully than it already did - even MySQLWorkbench would lock up waiting trying to access my maria container

 

So, false alarm, please disregard.

Fixed my maria container

  • Like 1
Link to comment
On 6/27/2024 at 4:19 PM, Sh3rL0cK said:

Found my solution. Used this example file instead of the stock one. 

 

https://github.com/rommapp/romm/blob/release/examples/config.es-de.example.yml

 

Think you need to specify all your platforms in the config and it doesn't like the # commments. 

 

 

 

 

I tried this config and it looks like its now starting to scan. I'll update later if the scan works. if you could share a copy of your working config that'd be great though Sh3rL0cK! Thank you!

Link to comment

Hello guys!

For all of you having issues with the config.example.yml, comment everything out and just fill the sections you need when needed. I just checked and it's broken as how it is, it will be updated for the next release to be working fine.

Thank you for your feedback!

Link to comment

Hey! I am having issues with it detecting my roms. My file structure seems to be correct because it detects the platforms it is in, but not the roms itself.
for example:
It detects the Xbox 360 folder and knows what platform it is in, but not the ROM, Lollipop Chainsaw.
Is there any troubleshooting steps I am not picking up?

Link to comment
8 hours ago, Eazyeeee said:

Hey! I am having issues with it detecting my roms. My file structure seems to be correct because it detects the platforms it is in, but not the roms itself.
for example:
It detects the Xbox 360 folder and knows what platform it is in, but not the ROM, Lollipop Chainsaw.
Is there any troubleshooting steps I am not picking up?

I have the same problem also docker uses latest but still shows update to 3.2 

Link to comment
  • 2 weeks later...

Sorry but I removed my RomM since it is way over my skills to install it on unraid in spite of watching numerous YT tutorials. As almost everything running on that OS (Komga, Kavita, Plex) it is required to have a PhD or at least serious and ambitious skills in IT to manage to make it work. It looked cool but I don't have months to try to sort things out.

 

So long RomM...

Link to comment
  • 3 weeks later...

Yo! Does anybody have any idea of what could be causing this for me? Thank you in advance, much appreciated

  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/backend/alembic/env.py", line 87, in <module>
    run_migrations_online()
  File "/backend/alembic/env.py", line 70, in run_migrations_online
    engine = create_engine(ConfigManager.get_db_engine())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<string>", line 2, in create_engine
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned
    return fn(*args, **kwargs)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/engine/create.py", line 546, in create_engine
    u = _url.make_url(url)
        ^^^^^^^^^^^^^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/engine/url.py", line 842, in make_url
    return _parse_url(name_or_url)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/engine/url.py", line 905, in _parse_url
    return URL.create(name, **components)  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/engine/url.py", line 211, in create
    cls._assert_port(port),
    ^^^^^^^^^^^^^^^^^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/engine/url.py", line 221, in _assert_port
    return int(port)
           ^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
Traceback (most recent call last):
  File "/src/.venv/bin/alembic", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/alembic/config.py", line 641, in main
    CommandLine(prog=prog).main(argv=argv)
  File "/src/.venv/lib/python3.11/site-packages/alembic/config.py", line 631, in main
    self.run_cmd(cfg, options)
  File "/src/.venv/lib/python3.11/site-packages/alembic/config.py", line 608, in run_cmd
    fn(
  File "/src/.venv/lib/python3.11/site-packages/alembic/command.py", line 403, in upgrade
    script.run_env()
  File "/src/.venv/lib/python3.11/site-packages/alembic/script/base.py", line 583, in run_env
    util.load_python_file(self.dir, "env.py")
  File "/src/.venv/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
    module = load_module_py(module_id, path)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
    spec.loader.exec_module(module)  # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/backend/alembic/env.py", line 87, in <module>
    run_migrations_online()
  File "/backend/alembic/env.py", line 70, in run_migrations_online
    engine = create_engine(ConfigManager.get_db_engine())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<string>", line 2, in create_engine
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned
    return fn(*args, **kwargs)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/engine/create.py", line 546, in create_engine
    u = _url.make_url(url)
        ^^^^^^^^^^^^^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/engine/url.py", line 842, in make_url
    return _parse_url(name_or_url)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/engine/url.py", line 905, in _parse_url
    return URL.create(name, **components)  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/engine/url.py", line 211, in create
    cls._assert_port(port),
    ^^^^^^^^^^^^^^^^^^^^^^
  File "/src/.venv/lib/python3.11/site-packages/sqlalchemy/engine/url.py", line 221, in _assert_port
    return int(port)
           ^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
ERROR:    [init][2024-08-16 09:52:03] Something went horribly wrong with our database
INFO:     [init][2024-08-16 10:01:06] Starting up, please wait...
INFO:     [init][2024-08-16 10:01:11] starting redis-server
11:C 16 Aug 2024 10:01:11.176 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
11:C 16 Aug 2024 10:01:11.176 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
11:C 16 Aug 2024 10:01:11.176 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=11, just started
11:C 16 Aug 2024 10:01:11.176 * Configuration loaded
11:M 16 Aug 2024 10:01:11.176 * monotonic clock: POSIX clock_gettime
11:M 16 Aug 2024 10:01:11.177 * Running mode=standalone, port=6379.
11:M 16 Aug 2024 10:01:11.177 * Server initialized
11:M 16 Aug 2024 10:01:11.177 * Ready to accept connections tcp
INFO:     [RomM][2024-08-16 10:01:13] Connecting to redis in /src/.venv/bin/alembic...
INFO:     [RomM][2024-08-16 10:01:13] Redis connection established in /src/.venv/bin/alembic!
INFO:     [RomM][2024-08-16 10:01:13] Connecting to redis in /src/.venv/bin/alembic...
INFO:     [RomM][2024-08-16 10:01:13] Redis connection established in /src/.venv/bin/alembic!
ERROR:    [init][2024-08-16 10:01:13] Something went horribly wrong with our database

Link to comment
15 hours ago, arcaneasada said:

@Eurotimmy We've been working on a dedicated repo for the unraid template, which you can find here: https://github.com/rommapp/unraid-templates

 

The hope is that by keeping it under the project umbrella we can better keep it up to date with changes to env variables, configs, etc. We're also looking to replace the RomM offered in CA with that one. Any thoughts on this change?


Smashing news!

I have been dealing with “life” and certainly don’t want to hinder this awesome project. Let’s get your template in to the right place to move the ball forward. 
 

I’ll get some time back soon to make adjustments. Will DM with you. 

  • Like 1
Link to comment

EDIT: I've been told this will be fixed in the next update.

 

When I click run on a game it gets to Decompress Game Core and then stops at 99%. It has a dump.rdb in the redis folder. I tried deleting that and running again but it still stops at 99%. All roms do this. I tried with a different browser with the same result.

Edited by wizenthorne
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...