Opened 5 years ago
Closed 5 years ago
#5582 closed defect (fixed)
dbupdate fails with configobj.MissingInterpolationOption error
Reported by: | anongoblin | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | programming | Keywords: | |
Cc: | Parent Tickets: |
Description
I am trying to deploy mediagoblin on a Raspberry Pi 3B+ according to the instructions found on https://mediagoblin.readthedocs.io/en/stable/siteadmin/deploying.html. I've tried on both Raspbian Buster and Ubuntu MATE 18.04.2, but they both fail in the same place, as shown below.
mediagoblin@pi-mate:/srv/mediagoblin.example.org/mediagoblin$ ./bin/gmg dbupdate Traceback (most recent call last): File "./bin/gmg", line 11, in <module> load_entry_point('mediagoblin', 'console_scripts', 'gmg')() File "/srv/mediagoblin.example.org/mediagoblin/mediagoblin/gmg_commands/__init__.py", line 148, in main_cli args.func(args) File "/srv/mediagoblin.example.org/mediagoblin/mediagoblin/gmg_commands/dbupdate.py", line 235, in dbupdate global_config, app_config = setup_global_and_app_config(args.conf_file) File "/srv/mediagoblin.example.org/mediagoblin/mediagoblin/init/__init__.py", line 48, in setup_global_and_app_config global_config, validation_result = read_mediagoblin_config(config_path) File "/srv/mediagoblin.example.org/mediagoblin/mediagoblin/init/config.py", line 89, in read_mediagoblin_config mainconfig_defaults = copy.copy(config_spec.get("DEFAULT", {})) File "/srv/mediagoblin.example.org/mediagoblin/lib/python3.6/copy.py", line 96, in copy rv = reductor(4) File "/srv/mediagoblin.example.org/mediagoblin/lib/python3.6/site-packages/configobj-5.0.6-py3.6.egg/configobj.py", line 482, in __reduce__ File "/srv/mediagoblin.example.org/mediagoblin/lib/python3.6/site-packages/configobj-5.0.6-py3.6.egg/configobj.py", line 557, in __getitem__ File "/srv/mediagoblin.example.org/mediagoblin/lib/python3.6/site-packages/configobj-5.0.6-py3.6.egg/configobj.py", line 549, in _interpolate File "/srv/mediagoblin.example.org/mediagoblin/lib/python3.6/site-packages/configobj-5.0.6-py3.6.egg/configobj.py", line 352, in interpolate File "/srv/mediagoblin.example.org/mediagoblin/lib/python3.6/site-packages/configobj-5.0.6-py3.6.egg/configobj.py", line 330, in recursive_interpolate File "/srv/mediagoblin.example.org/mediagoblin/lib/python3.6/site-packages/configobj-5.0.6-py3.6.egg/configobj.py", line 417, in _parse_match File "/srv/mediagoblin.example.org/mediagoblin/lib/python3.6/site-packages/configobj-5.0.6-py3.6.egg/configobj.py", line 386, in _fetch configobj.MissingInterpolationOption: missing option "here" in interpolation.
All of the steps leading up to that have executed successfully. I'm attaching the mediagoblin_local.ini file in case I missed something there, but I think everything is correct in it.
Attachments (1)
Change History (4)
by , 5 years ago
Attachment: | mediagoblin_local.ini added |
---|
comment:1 by , 5 years ago
Thanks for taking the time to report this issue. I believe this issue is fixed in the "master" branch of the code. Would you mind testing this please?
In your /srv/mediagoblin.example.org/mediagoblin
directory, please run git checkout master
and then git pull
. Let us know how you go.
Regards,
Ben
comment:3 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Closing this ticket as resolved.
Configuration file