Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#1065 closed defect (fixed)

small configuration fixes for Trac after the recent migration

Reported by: Dieter Van Uytvanck Owned by: Willem Elbers
Priority: minor Milestone:
Component: Trac Version:
Keywords: Cc: Willem Elbers

Description (last modified by Willem Elbers)

The trac.ini file is included in the backups and will overwrite the auto generated version when restoring a backup. The restore process tries to make some modifications for special cases, but this property should just be restored from the backup. So the manual fix was actually the correct way to solve this issue.

Change History (6)

comment:1 Changed 6 years ago by André Moreira

This is a test on notifications on this ticket

comment:2 Changed 6 years ago by André Moreira

test 2

comment:3 Changed 6 years ago by André Moreira

Cc: Willem Elbers added

Temporarily fixed. The permanent fix will need a new docker image if I am not mistaken. I will check it now...

For the record both problems are solved on the file `/srv/trac/data/conf/trac.ini`:

  • CLARIN icon in the lefmost upper corner:
[header_logo]
...
link = https://trac.clarin.eu #It was "link = trac.clarin.eu"
...

  • Header of the ticket mails lack
[trac]
...
base_url = https://trac.clarin.eu #It was "base_url = trac.clarin.eu"
...

comment:4 Changed 6 years ago by André Moreira

Owner: changed from André Moreira to Willem Elbers
Status: newassigned

Turns out that the current `trac.ini` file is not the automatically generated one. It was changed by hand, I believe in the process of moving trac from the clarinvm to the new clarinvm. The automatically generated `trac.ini` seems to generate proper values for these variables. See:

https://gitlab.com/CLARIN-ERIC/alpine-httpd-subversion_trac/blob/master/image/trac.ini.template#L40

https://gitlab.com/CLARIN-ERIC/alpine-httpd-subversion_trac/blob/master/image/trac.ini.template#L172

This means Willem is testing it and the previous values were input by hand.

Since I don't know in which phase things are, I leave it as it is and reassign the ticket to Willem.

Things are temporarily fixed

Last edited 6 years ago by André Moreira (previous) (diff)

comment:5 Changed 6 years ago by Willem Elbers

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

comment:6 Changed 6 years ago by Willem Elbers

The trac.ini file is included in the backups and will overwrite the auto generated version when restoring a backup. The restore process tries to make some modifications for special cases, but this property should just be restored from the backup. So the manual fix was actually the correct way to solve this issue.

Note: See TracTickets for help on using tickets.