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

uwsgi: 2.0.14 -> 2.0.15 #25690

Closed
wants to merge 1 commit into from
Closed

uwsgi: 2.0.14 -> 2.0.15 #25690

wants to merge 1 commit into from

Conversation

orivej
Copy link
Contributor

@orivej orivej commented May 10, 2017

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@orivej, thanks for your PR! By analyzing the history of the files in this pull request, we identified @abbradar and @schneefux to be potential reviewers.

@Mic92
Copy link
Member

Mic92 commented May 11, 2017

I just tried:

{ # /etc/nixos/configuration.nix
  services.uwsgi.enable = true;
}

but it failed to start:

$ systemctl status uwsgi
● uwsgi.service
   Loaded: loaded (/nix/store/xg4asbs7ax34dacm372h33w2f20388d2-unit-uwsgi.service/uwsgi.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2017-05-11 06:30:04 BST; 22ms ago
  Process: 17726 ExecStop=/nix/store/sxzm5kva1gb0hxm60xvr45m3c5l84xlz-coreutils-8.27/bin/kill -INT $MAINPID (code=exited, status=1/FAILURE)
  Process: 17723 ExecStart=/nix/store/az6wrc71ki4gwshcn48969mlmy0cx28h-uwsgi-2.0.15/bin/uwsgi --uid uwsgi --gid uwsgi --json /nix/store/dprjm880mf5bi0d3yy5kf7pa094n6cah-serv
er.json/server.json (code=exited, status=1/FAILURE)
  Process: 17712 ExecStartPre=/nix/store/n2chrix2x9vg0ks57bsdlklmim9nm41n-unit-script/bin/uwsgi-pre-start (code=exited, status=0/SUCCESS)
 Main PID: 17723 (code=exited, status=1/FAILURE)
   Status: "initializing uWSGI"
      CPU: 11ms

May 11 06:30:04 turingmachine uwsgi[17723]: detected max file descriptor number: 1024
May 11 06:30:04 turingmachine uwsgi[17723]: lock engine: pthread robust mutexes
May 11 06:30:04 turingmachine uwsgi[17723]: thunder lock: disabled (you can enable it with --thunder-lock)
May 11 06:30:04 turingmachine uwsgi[17723]: The -s/--socket option is missing and stdin is not a socket.
May 11 06:30:04 turingmachine kill[17726]: /nix/store/sxzm5kva1gb0hxm60xvr45m3c5l84xlz-coreutils-8.27/bin/kill: no process ID specified
May 11 06:30:04 turingmachine kill[17726]: Try '/nix/store/sxzm5kva1gb0hxm60xvr45m3c5l84xlz-coreutils-8.27/bin/kill --help' for more information.
May 11 06:30:04 turingmachine systemd[1]: uwsgi.service: Control process exited, code=exited status=1
May 11 06:30:04 turingmachine systemd[1]: Failed to start uwsgi.service.
May 11 06:30:04 turingmachine systemd[1]: uwsgi.service: Unit entered failed state.
May 11 06:30:04 turingmachine systemd[1]: uwsgi.service: Failed with result 'exit-code'.
warning: error(s) occurred while switching to the new configuration

@Mic92
Copy link
Member

Mic92 commented May 11, 2017

Looks like uwsgi wants a socket path given via command line.

@grahamc
Copy link
Member

grahamc commented Jul 26, 2017

Already applied it seems: 4576000

@grahamc grahamc closed this Jul 26, 2017
@orivej orivej deleted the uwsgi branch August 26, 2017 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants