Skip to main content

YunoHost

Add domain

yunohost.lan

    Add domain for IP 192.168.1.9 to PiHole: https://justine.mgmt/admin/
    Add domain to YH: https://yunohost.lan/yunohost/admin/#/domains/add
      I want to add a domain I own, or a subdomain
      Put FQDN Set up cert
      ssh root@yunohost.lan
      cd /etc/yunohost/certs
      cp -av yunohost.lan/*.pem <fqdn>/

      JitsiMeet

      See also: https://blog.hexadust.net/fix-jitsimeet-in-yunohost-stops-working

      New public or private IP

      Can edit configuration but it is overwritten on re-install using auto-detected pubic IP.

      vi /etc/jitsi/videobridge/sip-communicator.properties
      
      # Configure IPs
      org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=192.168.50.138
      org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=57.128.183.232
      
      # Restart videobridge
      systemctl restart jitsi-videobridge.service

      Fix for XMPP not working (reconnecting/reloading site)

      systemctl stop metronome
      systemctl disable metronome
      systemctl restart prosody

      Looks like YunoHost uses metronome and it will get re-enabled with updates but Jitsi needs prosody instead. Jitsi would stop metronome on install.

      No video/sound for participants

      It was working fine, but after reboot/update the participants are there but they have no video/sound and there are no errors in JS console.

      Just reinstall.

      Reinstall CLI

      sudo apt remove metronome
      yunohost app remove jitsi
      yunohost app install jitsi -a domain=video.hexadust.net

      Install testing branch

      yunohost app install https://github.com/YunoHost-Apps/jitsi_ynh/tree/testing --debug

      Custom certs

      cd /etc/yunohost/certs
      rm nitter.yunohost.lan/*.pem -v
      cp -av yunohost.lan/*.pem nitter.yunohost.lan/

      Adding root CA to YouoHost host OS

      Put your cert in PEM format wit .crt extension in /usr/local/share/ca-certificates and run update-ca-certificates.

      DNS resolution

      /etc/resolv.dnsmasq.conf
      nameserver 192.168.0.2

      Restart dnsmasq.