[OSGeo] #3272: Serve trac static files as static resources (not involving python)

#3272: Serve trac static files as static resources (not involving python)
---------------------------+-----------------------
Reporter: strk | Owner: strk
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Trac | Keywords:
---------------------------+-----------------------
See TracInstall – The Trac Project
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/3272&gt;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3272: Serve trac static files as static resources (not involving python)
---------------------------+------------------------
Reporter: strk | Owner: strk
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Trac | Resolution:
Keywords: |
---------------------------+------------------------
Comment (by strk):

I've deployed serving static files without using python on the staging
server and after testing I'm deploying to production.

See the ansible part here:
https://git.osgeo.org/gitea/sac/ansible-
deployment/commit/b7eb20f11552aba3b4a82561ab9a14d61f0d00de

There is a non-ansible part which was done manually before the deploy and
is now documented in Trac - OSGeo

I guess we could make an ansible task for that as well, which should only
run when trac is upgraded or a new plugin is installed.
--
Ticket URL: <#3272 (Serve trac static files as static resources (not involving python)) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3272: Serve trac static files as static resources (not involving python)
---------------------------+------------------------
Reporter: strk | Owner: strk
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Trac | Resolution:
Keywords: |
---------------------------+------------------------
Comment (by strk):

Serving static files like this seem to also help with the 502 ( bad
gateway ) responses ticketed in #3271
--
Ticket URL: <#3272 (Serve trac static files as static resources (not involving python)) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3272: Serve trac static files as static resources (not involving python)
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution: fixed
Keywords: |
---------------------------+---------------------------------------
Changes (by strk):

* milestone: Unplanned => Sysadmin Contract 2024-I
* resolution: => fixed
* status: new => closed

Comment:

Closing as completed
--
Ticket URL: <#3272 (Serve trac static files as static resources (not involving python)) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3272: Serve trac static files as static resources (not involving python)
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution: fixed
Keywords: |
---------------------------+---------------------------------------
Comment (by strk):

For the record, now Ansible does the deploy too:
https://git.osgeo.org/gitea/sac/ansible-
deployment/commit/8a7dbe136f13edcc6aa8b02df2ab56a861ec135a
--
Ticket URL: <#3272 (Serve trac static files as static resources (not involving python)) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3272: Serve trac static files as static resources (not involving python)
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution: fixed
Keywords: |
---------------------------+---------------------------------------
Comment (by strk):

And we do use the same url for common assets of every trac environment too
now,
with https://git.osgeo.org/gitea/sac/ansible-
deployment/commit/741a6f2e41c54e808bbaf25b673bec9f0507cbb6

AND with droppign the local override of htdocs_location in each env's
trac.ini
--
Ticket URL: <#3272 (Serve trac static files as static resources (not involving python)) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#3272: Serve trac static files as static resources (not involving python)
---------------------------+---------------------------------------
Reporter: strk | Owner: strk
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Trac | Resolution: fixed
Keywords: |
---------------------------+---------------------------------------
Comment (by strk):

Reopening as it's happening again.
It may be a segfault of apache.
--
Ticket URL: <#3272 (Serve trac static files as static resources (not involving python)) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.