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

openfire: init at 4.9.0 #360

Merged
merged 2 commits into from
Oct 2, 2024
Merged

openfire: init at 4.9.0 #360

merged 2 commits into from
Oct 2, 2024

Conversation

eljamm
Copy link
Contributor

@eljamm eljamm commented Sep 16, 2024

Initial work for packaging Openfire. The derivation builds successfully, but the program does not work correctly, yet.

One of the issues at hand is that a writeable directory relative to OPENFIRE_HOME is required for logs, but the package's home directory resides in the nix store, so patching might be required to make it look elsewhere for the logs.

Closes #341

@eljamm
Copy link
Contributor Author

eljamm commented Sep 17, 2024

Asked the Openfire developers about this on discourse and apparently there are a few more directories that need to be writeable in OPENFIRE_HOME.

@eljamm eljamm changed the title openfire: init at 4.8.3 openfire: init at 4.9.0 Sep 26, 2024
@eljamm
Copy link
Contributor Author

eljamm commented Sep 26, 2024

Openfire now works through an openfire-server service (adapted from the crossfire-server module), which copies the program files in a read-writeable OPENFIRE_HOME directory at runtime.

This is a good step in getting the server to run, but it's unclear to me how to update the program state on package updates in a non-destructive manner.

@eljamm eljamm force-pushed the openfire branch 4 times, most recently from 0451e09 to 6ffb9af Compare September 26, 2024 18:30
@eljamm
Copy link
Contributor Author

eljamm commented Sep 26, 2024

The program's state can now be automatically migrated on package updates, following the steps in Openfire: Upgrade Guide.

eljamm and others added 2 commits October 2, 2024 11:17
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
@wegank wegank merged commit e40efee into ngi-nix:main Oct 2, 2024
2 checks passed
@eljamm eljamm deleted the openfire branch October 2, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Openfire
3 participants