From: SCHLEMMER N. <Nor...@pd...> - 2023-10-12 20:02:16
|
Hi John Please find below the output of my tests @RPi 4 I don't know how to get the container running Do you have a docker-compose.yml file ? It would be fine to have a Roundup running with MariaDB as database container (linuxserver/mariadb) or Postgresql / arm64v8/postgres:15-bookworm (?) Br Norbert pi@hadersdorf:~/Roundup $ docker run -it -p 127.0.0.1:8917:8080 --name roundup_demo -v $PWD:/usr/src/app/tracker rounduptracker/roundup-development:multi shell ~ $ ls -lrt total 16 -rwxr-xr-x 1 root root 291 Jul 19 03:12 roundup_healthcheck -rwxr-xr-x 1 root root 5711 Sep 8 02:08 roundup_start drwxr-xr-x 3 roundup roundup 4096 Oct 10 07:42 tracker ~ $ roundup-admin -i tracker install Templates:: jinja2, devel, minimal, classic, responsive Select template [classic]: Back ends:: anydbm, mysql, sqlite, postgresql Select backend [anydbm]: sqlite --------------------------------------------------------------------------- You should now edit the tracker configuration file: /usr/src/app/tracker/config.ini ... at a minimum, you must set following options: [tracker]: web [mail]: domain, host If you wish to modify the database schema, you should also edit the schema file: /usr/src/app/tracker/schema.py You may also change the database initialisation file: /usr/src/app/tracker/initial_data.py ... see the documentation on customizing for more information. You MUST run the "roundup-admin initialise" command once you've performed the above steps. --------------------------------------------------------------------------- ~ $ Following options need adjustments: # [tracker]: web # [mail]: domain, host Modfied config.ini with: web = http://hadersdorf.xxx.at:8917/demo domain = xxx.at host = mail.xxx.at ~ $ roundup-admin initialise Enter tracker home: tracker Admin Password: Confirm: Error: Invalid value for TRACKER_WEB: 'http://hadersdorf.sieben.neunzehn.at:8917/demo' Value must end with /. Usage: initialise [adminpw] Initialise a new Roundup tracker. The administrator details will be set at this step. Execute the tracker's initialisation function dbinit.init() ~ $ exit docker rm -f roundup_demo pi@hadersdorf:~/Roundup $ docker rm -f roundup_demo roundup_demo pi@hadersdorf:~/Roundup $ docker run -it -p 127.0.0.1:8917:8080 --name roundup_demo -v $PWD:/usr/src/app/tracker rounduptracker/roundup-development:multi tracker Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/roundup-2.3.0-py3.11.egg/roundup/scripts/roundup_server.py", line 1109, in run name, home = arg.split('=') ^^^^^^^^^^ ValueError: not enough values to unpack (expected 2, got 1) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/roundup-server", line 33, in <module> sys.exit(load_entry_point('roundup==2.3.0', 'console_scripts', 'roundup-server')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/roundup-2.3.0-py3.11.egg/roundup/scripts/roundup_server.py", line 1111, in run raise ValueError(_("Instances must be name=home")) ValueError: Instances must be name=home |