-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Build failure: Jitsi #268636
Comments
With NixOS unstable, I was able to further pinpoint the issue... It will NOT build when the nginx option is set to true (which is it's default) OR if the caddy option is set to true. If both are set to false, then it will build just fine. But obviously, that doesn't work because Jitsi needs to be served over the web. Therefore, it seems something with connecting to the webserver feature in the module is preventing the whole Jitsi module from building. |
Please post the entire build failure log. The 3 lines are not helpful. |
Sure thing. This was the output from Hold on... |
Here is the log after running
|
@SuperSandro2000 is the log posted above helpful for you? Are you looking for a dmesg log as well? |
Upon further testing it is a Caddy issue regarding the Caddy module option I will include the maintainers in this ticket. |
This breakage is not a fault of I suspect it's due to the recent Not sure how much input I can provide here. |
I checked the changelog for sd but i couldnt see anything related. @emilylange do you have suggestions for how to improve the caddyfile ? |
Which leads me to believe this has been broken for a long time. It's just that no-one noticed, as it used to """silently""" error.
Given the Caddyfile currently is handle /http-bind {
header Host ${cfg.hostName}
reverse_proxy 127.0.0.1:5280
}
handle /xmpp-websocket {
reverse_proxy 127.0.0.1:5280
}
handle {
templates
root * ${templatedJitsiMeet}
try_files {path} {path}
try_files {path} /index.html
file_server
}
This is passed by default and shouldn't be needed. See https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#defaults And given So my initial
isn't that fair and I should have phrased this differently. Sorry @happysalada. |
diff --git a/nixos/modules/services/web-apps/jitsi-meet.nix b/nixos/modules/services/web-apps/jitsi-meet.nix
index c0f9d785eea2..0c0eb66e65b7 100644
--- a/nixos/modules/services/web-apps/jitsi-meet.nix
+++ b/nixos/modules/services/web-apps/jitsi-meet.nix
@@ -479,7 +479,7 @@ in
extraConfig =
let
templatedJitsiMeet = pkgs.runCommand "templated-jitsi-meet" { } ''
- cp -R ${pkgs.jitsi-meet}/* .
+ cp -R --no-preserve=all ${pkgs.jitsi-meet}/* .
for file in *.html **/*.html ; do
${pkgs.sd}/bin/sd '<!--#include virtual="(.*)" -->' '{{ include "$1" }}' $file
done Adding |
Thank you everyone for the help! Yes, it seems it is a simple fix with the |
Ahhh! You are the best!! Thanks so much!! |
Steps To Reproduce
Steps to reproduce the behavior:
cd /etc/nixos/ && nix flake update && nixos-rebuild switch
Build log
Additional context
Add any other context about the problem here.
Notify maintainers
@cleeyv
@ryantm
@camillemndn
@SomeoneSerge
@SuperSandro2000
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: