[SAC] [OSGeo] #2682: Install pretalx plugins pretalx-public-voting and (possibly pretalx-venueless)

#2682: Install pretalx plugins pretalx-public-voting and (possibly pretalx-
venueless)
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Keywords:
---------------------------+---------------------------------------
FOSS4G2022 needs pretalx-public-voting.
I'm working on building a custom docker image. Testing on the backup of
pretalx osgeo3 container I created.

I will push the docker image to docker.osgeo.org once I am done.
and also have a repo here - https://git.osgeo.org/gitea/sac/pretalx
to keep track of customizations

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2682&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2682: Install pretalx plugins pretalx-public-voting and (possibly pretalx-
venueless)
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by robe):

Okay pretalx-public-voting I finally got to install in the docker image.
I also installed pluging pretalx-pages which looked useful.

pretalx-venuless I wasn't so lucky - got error:

{{{
Traceback (most recent call last):
   File "/usr/local/lib/python3.8/runpy.py", line 194, in
_run_module_as_main
     return _run_code(code, main_globals, None,
   File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
     exec(code, run_globals)
   File "/pretalx/src/pretalx/__main__.py", line 9, in <module>
     execute_from_command_line(sys.argv)
   File "/usr/local/lib/python3.8/site-
packages/django/core/management/__init__.py", line 419, in
execute_from_command_line
     utility.execute()
   File "/usr/local/lib/python3.8/site-
packages/django/core/management/__init__.py", line 395, in execute
     django.setup()
   File "/usr/local/lib/python3.8/site-packages/django/__init__.py", line
24, in setup
     apps.populate(settings.INSTALLED_APPS)
   File "/usr/local/lib/python3.8/site-packages/django/apps/registry.py",
line 122, in populate
     app_config.ready()
   File "/src/pretalx-venueless/pretalx_venueless/apps.py", line 19, in
ready
     from . import signals # NOQA
   File "/src/pretalx-venueless/pretalx_venueless/signals.py", line 8, in
<module>
     from pretalx.schedule.signals import schedule_release
ImportError: cannot import name 'schedule_release' from
'pretalx.schedule.signals' (/pretalx/src/pretalx/schedule/signals.py)
}}}

But anyway guess that might still be in development and not ready for
prime time or only works with not yet released pretalx that is supports
hooks in schedules.

So the Dockerfile I ended up with is

Docker File contents:

{{{
FROM pretalx/standalone:latest
USER root
# Based on instructions from https://github.com/pretalx/pretalx-
docker/issues/13
RUN pip3 install -Ue "git+https://github.com/pretalx/pretalx-public-
voting.git@master#egg=pretalx-public-voting"
RUN pip3 install -Ue "git+https://github.com/pretalx/pretalx-
pages.git@master#egg=pretalx-pages"
#RUN pip3 install -Ue "git+https://github.com/pretalx/pretalx-
venueless.git@main#egg=pretalx-venueless"
USER pretalxuser
RUN python3 -m pretalx makemigrations

VOLUME ["/etc/pretalx", "/data"]
EXPOSE 80
ENTRYPOINT ["pretalx"]
CMD ["all"]

}}}

I have just in staging to make sure I didn't screw up on anything.

Staging site is -
https://talks.staging.osgeo.org/orga/event/foss4g-2022/settings/plugins

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2682#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2682: Install pretalx plugins pretalx-public-voting and (possibly pretalx-
venueless)
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):

* status: new => closed
* resolution: => fixed

Comment:

I have pushed the docker image to docker.osgeo.org

To pull you can do

{{{
docker pull docker.osgeo.org/sac/pretalx-osgeo:latest
}}}

as detailed on - https://git.osgeo.org/gitea/sac/pretalx

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2682#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2682: Install pretalx plugins pretalx-public-voting and (possibly pretalx-
venueless)
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: reopened
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):

* status: closed => reopened
* resolution: fixed =>

Comment:

Oops haven't installed on production yet. Waiting for some feedback from
FOSS4G2022

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2682#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2682: Install pretalx plugins pretalx-public-voting and (possibly pretalx-
venueless)
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: reopened
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by lucadelu):

I'm not able to enter in
https://talks.staging.osgeo.org/orga/event/foss4g-2022/settings/plugins, I
have no problem to install it in production since you tested on staging.
We would like to start on Monday but we have time to test it and in the
worst situation we can postpone few days

Thanks a lot

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2682#comment:4&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2682: Install pretalx plugins pretalx-public-voting and (possibly pretalx-
venueless)
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: reopened
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by robe):

Still working out some issues with the plugin before ready for production
install.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2682#comment:5&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2682: Install pretalx plugins pretalx-public-voting and (possibly pretalx-
venueless)
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: reopened
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by robe):

Okay worked out the issues with public-voting piece with help from Volker
Mische.

I now have it installed in production site - https://talks.osgeo.org

I'm going to shutdown the staging site for now do minimize on confusion.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2682#comment:6&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2682: Install pretalx plugins pretalx-public-voting and (possibly pretalx-
venueless)
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):

* status: reopened => closed
* resolution: => fixed

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2682#comment:7&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2682: Install pretalx plugins pretalx-public-voting and pretalx-pages
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2682#comment:8&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.