Skip to content

RTB 3.14.0 installation failed on Ubuntu 24.04 #640

@quade0

Description

@quade0

I tried to install RTB Releases 3.14.0 on Ubuntu 24.04 LTS Server with sqlite database.
The installation step with the "setup/depends.sh" script failed, because needed pip3 packages from "./setup/requirements.txt" are not available anymore.

Some of them are now available as apt packages:

  • python3-tornado
  • python3-pbkdf2
  • python3-pymysql
  • python3-binary-memcached
  • python3-dateutil
  • python3-defusedxml
  • python3-netaddr
  • python3-nose
  • python3-future
  • python3-sqlalchemy
  • python3-alembic
  • python3-setuptools-rust
  • python3-msal
  • python3-requests
  • python3-pillow

Other required packages from "setup/depends.sh" that are available

  • build-essential
  • zlib1g-dev
  • memcached
  • rustc
  • sqlite3
  • libsqlite3-dev

No apt or pip3 package alternative found for these "./setup/requirements.txt" candidates:

  • python-resize-image
  • enum34
  • mysqlclient
  • rocketchat_API

Initialize the database tables failed, still a Module is missing

./rootthebox.py --setup=prod --sql-dialect=sqlite

Shell output:

[*] 19:39:09 : Creating the database ...
Traceback (most recent call last):
  File "/opt/RTB/./rootthebox.py", line 1223, in <module>
    setup()
  File "/opt/RTB/./rootthebox.py", line 98, in setup
    from setup.create_database import create_tables, engine, metadata
  File "/opt/RTB/setup/create_database.py", line 21, in <module>
    from models import engine
  File "/opt/RTB/models/__init__.py", line 117, in <module>
    from models.Box import Box
  File "/opt/RTB/models/Box.py", line 34, in <module>
    from resizeimage import resizeimage
ModuleNotFoundError: No module named 'resizeimage'

Any idea how to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions