Aktionen
Aufgabe #2510
offenDie Anwendung Redmine startet nicht wegen fehlender Inhalte in Gemfile (webrick Gem)
Beginn:
29.06.2025
Abgabedatum:
% erledigt:
0%
Geschätzter Aufwand:
Beschreibung
[root@redmine---aufgabenverwaltung:~]# nixos-rebuild switch building Nix... building the system configuration... stopping the following units: redmine.service activating the configuration... setting up /etc... restarting sysinit-reactivation.target reloading the following units: dbus.service starting the following units: redmine.service Failed to start redmine.service warning: the following units failed: redmine.service × redmine.service Loaded: loaded (/etc/systemd/system/redmine.service; enabled; preset: ignored) Active: failed (Result: exit-code) since Sun 2025-06-29 19:10:19 UTC; 1s ago Duration: 10min 3.602s Invocation: bcfb9e003836435abbe5493c45e47a6e Process: 2924 ExecStartPre=/nix/store/dpc825s9wbly4w3xj74v16x4l5blanb2-unit-script-redmine-pre-start/bin/redmine-pre-start (code=exited, status=1/FAILURE) IO: 0B read, 0B written Mem peak: 21.2M CPU: 663ms Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/base.rb:584:in > Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/cli.rb:29:in `start' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/gems/3.3.0/gems/bundler-2.5.22/exe/bundle:28:in `b> Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/friendly_errors.rb:117:in `with_frie> Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/gems/3.3.0/gems/bundler-2.5.22/exe/bundle:20:in `<> Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/5q3168kw95y67a9h61c8slxn7w3qaigm-redmine-6.0.5/share/redmine/bin/bundle:4:in `load' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/5q3168kw95y67a9h61c8slxn7w3qaigm-redmine-6.0.5/share/redmine/bin/bundle:4:in `<main>' Jun 29 19:10:19 pro systemd[1]: redmine.service: Control process exited, code=exited, status=1/FAILURE Jun 29 19:10:19 pro systemd[1]: redmine.service: Failed with result 'exit-code'. Jun 29 19:10:19 pro systemd[1]: Failed to start redmine.service. warning: error(s) occurred while switching to the new configuration
Jun 29 19:10:17 pro bundle[920]: /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundled_gems.rb:69:in `require' Jun 29 19:10:17 pro bundle[920]: /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require' Jun 29 19:10:17 pro bundle[920]: bin/rails:4:in `<main>' Jun 29 19:10:17 pro bundle[920]: [2025-06-29 19:10:17] INFO going to shutdown ... Jun 29 19:10:17 pro bundle[920]: [2025-06-29 19:10:17] INFO WEBrick::HTTPServer#start done. Jun 29 19:10:17 pro bundle[920]: Exiting Jun 29 19:10:17 pro systemd[1]: redmine.service: Deactivated successfully. Jun 29 19:10:17 pro systemd[1]: Stopped redmine.service. Jun 29 19:10:17 pro systemd[1]: redmine.service: Consumed 1min 22.387s CPU time, 243.9M memory peak. Jun 29 19:10:18 pro systemd[1]: Starting redmine.service... Jun 29 19:10:19 pro redmine-pre-start[2987]: bundler: failed to load command: rake (/nix/store/gxxavy7lq0zcp90lhbdfxk091q57xkyp-redmine-env-6.0.5/lib/ruby/gems/3.3.0/bin/ra> Jun 29 19:10:19 pro redmine-pre-start[2987]: /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/definition.rb:419:in `ensure_equivalent_gemfile_a> Jun 29 19:10:19 pro redmine-pre-start[2987]: You have deleted from the Gemfile: Jun 29 19:10:19 pro redmine-pre-start[2987]: * webrick Jun 29 19:10:19 pro redmine-pre-start[2987]: Run `bundle install` elsewhere and add the updated ../../../ws34cry77kb0hjix1zvbpbj4286mhbw3-gemfile-and-lockfile/Gemfile to ve> Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/runtime.rb:13:in `setup' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler.rb:164:in `setup' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/setup.rb:32:in `block in <top (requi> Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/ui/shell.rb:173:in `with_level' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/ui/shell.rb:119:in `silence' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/setup.rb:32:in `<top (required)>' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/cli/exec.rb:56:in `require_relative' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/cli/exec.rb:56:in `kernel_load' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/cli/exec.rb:23:in `run' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/cli.rb:455:in `exec' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/command.rb:28:i> Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/invocation.rb:1> Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor.rb:527:in `disp> Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/cli.rb:35:in `dispatch' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/base.rb:584:in > Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/cli.rb:29:in `start' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/gems/3.3.0/gems/bundler-2.5.22/exe/bundle:28:in `b> Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/3.3.0/bundler/friendly_errors.rb:117:in `with_frie> Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/9jslgkvdkn42hlc52mr25f37jsa5rxga-ruby-3.3.8/lib/ruby/gems/3.3.0/gems/bundler-2.5.22/exe/bundle:20:in `<> Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/5q3168kw95y67a9h61c8slxn7w3qaigm-redmine-6.0.5/share/redmine/bin/bundle:4:in `load' Jun 29 19:10:19 pro redmine-pre-start[2987]: from /nix/store/5q3168kw95y67a9h61c8slxn7w3qaigm-redmine-6.0.5/share/redmine/bin/bundle:4:in `<main>' Jun 29 19:10:19 pro systemd[1]: redmine.service: Control process exited, code=exited, status=1/FAILURE Jun 29 19:10:19 pro systemd[1]: redmine.service: Failed with result 'exit-code'. Jun 29 19:10:19 pro systemd[1]: Failed to start redmine.service.
Aktionen
#1
Von DuongVoTan vor 4 Tagen aktualisiert
vermutlich entstanden durch durch commit upstream
https://github.com/NixOS/nixpkgs/commit/1105b34ec2b88e82fe35be9e6ba5c547487824b2
Aktionen
#2
Von DuongVoTan vor 4 Tagen aktualisiert
temporärer fix über Rollback auf alte nix Generation. Zudem wurde autoUpgrade vorerst disabled.
Generationen auflisten:
[root@redmine---aufgabenverwaltung:~]# nixos-rebuild list-generations ... Generation Build-date NixOS version Kernel Configuration Revision Specialisation 408 current 2025-06-29 18:54:48 lxc-proxmox-25.05.804936.a676066377a2 Unknown * 407 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 406 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 405 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 404 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 403 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 402 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 401 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 400 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 399 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 398 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 397 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 396 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 395 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 394 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 393 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown * 392 2025-06-29 18:54:48 lxc-proxmox-25.05.804745.7284e2decc98 Unknown *
Rollback auf frühere Version:
[root@redmine---aufgabenverwaltung:~]# nixos-rebuild --rollback switch switching profile from version 408 to 407 activating the configuration... setting up /etc... restarting sysinit-reactivation.target reloading the following units: dbus.service Done. The new configuration is /nix/var/nix/profiles/system
zum Schluss nochmal testen ob redmine wieder läuft
systemctl status redmine.service
Aktionen
#3
Von DuongVoTan vor 4 Tagen aktualisiert
@PaulRiegel meint erstmal abzuwarten ob das über die Zeit gefixed wird. Ansonsten kann man sich da gerne nach der Prüfungsphase über mögliche Lösungen unterhalten
Aktionen
#4
Von PaulRiegel vor 4 Tagen aktualisiert
- Thema wurde von Die Anwendung Redmine startet nicht wegen fehlender Inhalte in Gemfile (webtrick Gem) zu Die Anwendung Redmine startet nicht wegen fehlender Inhalte in Gemfile (webrick Gem) geändert
Aktionen