I like this idea @sturm and the basic installer shell script you've written so far.
In https://docs.mediagoblin.org/en/master/siteadmin/deploying.html, there are only git commands pulling mediagoblin code from Savannah and no documentation on how to build from Sourcehut (SH).
When I type
git status, I should not be getting "Not currently on any branch." when dealing with a Sourcehut repo. The git command options are totally different between SH and what is documented in https://docs.mediagoblin.org/en/master/siteadmin/deploying.html.
This issue was attempted to be reported in Issue #37 which was incorrectly resolved as "Documentation missing on how to build from sourcehut".
From speaking with ~jahway603 on IRC, we've confirmed that the newly released version 0.12.1 fixes the Jinja2 issue. Please see the documentation on upgrading for how to switch to this version:
I appreciate that this approach of checking out a git tag is confusing. We'll take this on board and consider how to make the process simpler. Ideally I'd like to avoid people running MediaGoblin from having to use git at all.
Olivier: I'm just happy I was able to get anything to work as I ran into issue after issue to finally get this up and running today. I followed the instructions here, https://docs.mediagoblin.org/en/master/siteadmin/deploying.html, which mostly worked. I'd like to contribute documentation but I need to learn how to do that on here or Savannah.
I'm using v0.12.1rc1 branch and Python 3.9.2 on Debian 11. Is there anything I can run here to get better data for this issue?
Found this link to setup the audio plugin and pre-req, https://docs.mediagoblin.org/en/master/siteadmin/media-types.html, but it doesn't specify what is supported.
I'm not able to locate any documentation for which media types are supported. I have a new instance but trying to add *.mp3 or *.ogg files is not working. Is there a list of supported media types somewhere or does this need to be created?
I get some python errors when running ./bin/gmg, but the commands do process correctly.
$ ./bin/gmg adduser --username example --email email@example.com /srv/mediagoblin.example.org/mediagoblin/lib/python3.9/site-packages/PyLD-1.0.5-py3.9.egg/pyld/jsonld.py:577: SyntaxWarning: "is" with a literal. Did you mean "=="? /srv/mediagoblin.example.org/mediagoblin/lib/python3.9/site-packages/PyLD-1.0.5-py3.9.egg/pyld/jsonld.py:577: SyntaxWarning: "is" with a literal. Did you mean "=="? Password: User created (and email marked as verified).
I'm having the same failed Jinja2 issue described on the mailing list and attempting to change the
git clonecommand on https://docs.mediagoblin.org/en/master/siteadmin/deploying.html to work with this new sourcehut repo is not working. Please help!