mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
composer.lock outdated #139
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mark-boute on GitHub (Aug 7, 2024).
Current Behavior
When following the Get Started documentation and running
composer installI get the following output:Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>.This does not matter when building on Ubuntu, but I am trying to build a NixOS derivation using
php83.buildComposerProject. That requires the .lock file to be up-to-date unless I set thecomposerStrictValidation = true;option, which is not recommended for published packages.Expected Behavior
I expect the composer.json and .lock files to be in sync.
Steps to Reproduce
Follow the Getting Started guide
Panel Version
v1.0.0-beta7
Wings Version
n.a.
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@rmartinoscar commented on GitHub (Aug 7, 2024):
Hey we are aware of this you can skip this warning it will be patched upon next release
@Silver-Golden commented on GitHub (Nov 9, 2024):
@mark-boute by any chance did ye get it to work nicely on nixos?
If so do ye have a config ye can share?
@mark-boute commented on GitHub (Nov 9, 2024):
Semi-working.
We managed to get it to build by changing a setting to not evaluate the lockfile, but decided to install the panel manually as it's essentially just a webpage.
We did get wings working. I think the repo is now private, so I'll check for relevant code real quick.
@mark-boute commented on GitHub (Nov 9, 2024):
Services
Install script
Wings package derivation
And to enable the wings service
@Silver-Golden commented on GitHub (Nov 9, 2024):
That's amazing!
by any chance do ye also have the
pelican-update.nix? I see it referenced above.I honestly thought the wings would have been harder to make work than that
@matthijsk16 commented on GitHub (Nov 9, 2024):
Update script
I want to add an important disclaimer for both the install and update script:
Since Pelican is in beta, the install/update process can change with a new update. Therefore always first check the Pelican docs and change the above script before executing it.
Also, if you ever come across a way to install Pelican the full nix way, please let us know!
EDIT:
Almost forgot, but you also need nginx and its config:
@rmartinoscar commented on GitHub (Nov 9, 2024):
Please make a PR.