Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include_list deleted during 6.1.23 > 6.2.64 upgrade #1321

Closed
tmclaren opened this issue Jan 13, 2022 · 2 comments · Fixed by #1323
Closed

include_list deleted during 6.1.23 > 6.2.64 upgrade #1321

tmclaren opened this issue Jan 13, 2022 · 2 comments · Fixed by #1323
Labels
Milestone

Comments

@tmclaren
Copy link

tmclaren commented Jan 13, 2022

Description

I upgraded Sympa 6.1.23 to a new 6.2.64 server and the include_list setting was deleted from all of the lists configs in 6.2.64.

I moved the list_data directory to the new server, successfully migrated the mysql db and ran sympa.pl --upgrade. Everything appeared to go smoothly except for the include_list setting for all lists that used it. The syntax for this setting had changed in 6.2.x and the old setting was not translated to the new 6.2.x syntax during the upgrade.

6.1.23
include_list CCSP

6.2.64
include_sympa_list
listname ccsp
name ccsp

Installation method

centOS 7, mysql/mariadb 12, postfix

Expected behavior

I expected this setting to persist and get translated to the new syntax.

Actual behavior

The setting, include_list, was deleted from all lists that had it defined.

@ikedas
Copy link
Member

ikedas commented Jan 16, 2022

@tmclaren , if possible, please apply this patch and retry upgrading from previous version (6.1.23).

@ikedas ikedas added this to the 6.2.68 milestone Jan 16, 2022
@ikedas
Copy link
Member

ikedas commented Jan 16, 2022

@tmclaren , additional info:

previous versions of list config files are kept as confg.0, config.1, ... and so on. If you cannot restore backup data of previous version of Sympa (6.1.23), you may follow the steps below to retry upgrading:

  1. Stop the Sympa services.
  2. Rename the newest config.XXX of each list to config.
  3. Edit data_structure.version to change the current version (6.2.64) to the previous one (6.1.23).
  4. Run sympa.pl --upgrade.
  5. Restart the Sympa services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants