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

Ejabberd: upgrade to 24.07 #7008

Closed
stephdl opened this issue Sep 6, 2024 · 9 comments
Closed

Ejabberd: upgrade to 24.07 #7008

stephdl opened this issue Sep 6, 2024 · 9 comments
Assignees
Labels
verified All test cases were verified successfully

Comments

@stephdl
Copy link

stephdl commented Sep 6, 2024

Ejabberd gets a new version 24.07 with as a new admin page and new settings for its usage

Proposed solution

I propose to upgrade ejabberd to 24.07

Alternative solutions

we have the version 24.02

Additional context

new version brings new features and security but also sometimes bugs

https://www.process-one.net/blog/ejabberd-24-07/
https://www.process-one.net/blog/ejabberd-24-06/

See also

NethServer/ns8-ejabberd#51 (comment)


thank neustradamus

@Neustradamus
Copy link

Thanks in advance for this big improvement.

stephdl added a commit to NethServer/ns8-ejabberd that referenced this issue Sep 9, 2024
Update ejabberd.yml with webadmin commands permissions NethServer/dev#7008
@DavidePrincipi DavidePrincipi moved this from 🆕 New to 🏗 In progress in NethServer Sep 9, 2024
@stephdl
Copy link
Author

stephdl commented Sep 9, 2024

the version to test is : ghcr.io/nethserver/ejabberd:1.0.7-dev.4

@stephdl
Copy link
Author

stephdl commented Sep 9, 2024

QA

  • upgrade
    install ns8-ejabberd from stable, configure, create some messages from users then upgrade to ghcr.io/nethserver/ejabberd:1.0.7-dev.4: no issues expected, messages must be there and available
    to upgrade :
    api-cli run update-module --data '{"module_url":"ghcr.io/nethserver/ejabberd:1.0.7-dev.4","instances":["ejabberd1"],"force":true}'

  • direct install
    install from testing ghcr.io/nethserver/ejabberd:1.0.7-dev.4, configure and create some messages from users: no issue expected
    to install :
    add-module ghcr.io/nethserver/ejabberd:1.0.7-dev.4

  • case migration
    install ejabberd with an account provider
    send messages between users with gajim or pidgim
    install migration and configure it
    migrate the stack to a NS8 with the cluster enabled
    once the migration is done, you need to recreate the client settings because the host has changed its IP (ns7-pve.org to rocky9-pve.org for example)
    keep the [email protected] it has been migrated but the hostname has changed: these are examples with gajim (sorry for the french)
    Capture d’écran du 2024-09-09 10-55-14
    Capture d’écran du 2024-09-09 10-55-49

  • admin page
    You have to validate in all cases above that the admin page is available and without issue
    at the bottom, you have the running version

image

  • only one module per node

From the software center, the ejabberd module can be installed just one time

@stephdl stephdl added the testing Packages are available from testing repositories label Sep 9, 2024
@stephdl
Copy link
Author

stephdl commented Sep 9, 2024

stephdl added a commit to NethServer/ns8-ejabberd that referenced this issue Sep 10, 2024
chore(deps): update ejabberd/ecs docker tag to v24.07   NethServer/dev#7008
@DavidePrincipi DavidePrincipi moved this to In progress in NethServer Sep 11, 2024
@stephdl
Copy link
Author

stephdl commented Oct 16, 2024

@Neustradamus could you please verify this issue

@DavidePrincipi
Copy link
Member

Verified test cases:

  1. upgrade
  2. direct install

@DavidePrincipi
Copy link
Member

Verified test cases:

  1. case migration (I tested the migration of domain dp.nethserver.net)
  2. admin page 24.7.0 (c) 2002-2024 ProcessOne
  3. only one module per node

@DavidePrincipi DavidePrincipi added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Oct 21, 2024
@stephdl
Copy link
Author

stephdl commented Oct 21, 2024

@stephdl stephdl closed this as completed Oct 21, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in NethServer Oct 21, 2024
@Neustradamus
Copy link

@stephdl, @DavidePrincipi: Thanks, good job!

@DavidePrincipi DavidePrincipi added this to the NethServer M8.3 milestone Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verified All test cases were verified successfully
Projects
Status: Done
Development

No branches or pull requests

3 participants