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

Update the docker image of funkwhale solution to support ssh access #223

Open
Mahmoud-Emad opened this issue Apr 18, 2024 · 7 comments
Open
Assignees

Comments

@Mahmoud-Emad
Copy link
Contributor

The current funkwhale solution doesn't run sshd, which causes the user access

Related issues

@PeterNashaat
Copy link
Member

  • I can't find any docs or files about funkwhale to update it in tf-images repo ?!

@Mahmoud-Emad
Copy link
Contributor Author

I've searched about it in the 'tf-images' repo but I can't find it, we may need to implement the image?

@PeterNashaat
Copy link
Member

  • Getting error when starting it with caddy
    image
  • Switching to nginx
    0316b87

@xmonader xmonader modified the milestone: 3.15.x Oct 14, 2024
@PeterNashaat
Copy link
Member

@PeterNashaat
Copy link
Member

[-] nginx: ------------ [start] ------------
[-] nginx: nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/test.funkwhale.ourworld.tf/fullchain.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/test.funkwhale.ourworld.tf/fullchain.pem, r) error:10000080:BIO routines::no such file)

@PeterNashaat
Copy link
Member

image - nginx logs
[-] nginx: ------------ [start] ------------
[-] nginx: nginx: [warn] conflicting server name "test2.funkwhale.ourworld.tf" on [::]:443, ignored
[-] nginx: nginx: [warn] conflicting server name "test2.funkwhale.ourworld.tf" on 0.0.0.0:443, ignored

[-] nginx: ------------ [start] ------------
[-] nginx: nginx: [warn] conflicting server name "test2.funkwhale.ourworld.tf" on 0.0.0.0:80, ignored
  • Certbot worked fine and new certificate generated
[+] funkwhale: Account registered.
[+] funkwhale: Requesting a certificate for test2.funkwhale.ourworld.tf
[+] funkwhale:
[+] funkwhale: Successfully received certificate.
[+] funkwhale: Certificate is saved at: /etc/letsencrypt/live/test2.funkwhale.ourworld.tf/fullchain.pem
[+] funkwhale: Key is saved at:         /etc/letsencrypt/live/test2.funkwhale.ourworld.tf/privkey.pem
[+] funkwhale: This certificate expires on 2025-01-14.
[+] funkwhale: These files will be updated when the certificate renews.
[+] funkwhale: Certbot has set up a scheduled task to automatically renew this certificate in the background.
[+] funkwhale:
[+] funkwhale: Deploying certificate
[+] funkwhale: Successfully deployed certificate for test2.funkwhale.ourworld.tf to /etc/nginx/sites-enabled/funkwhale.conf
[+] funkwhale: Congratulations! You have successfully enabled HTTPS on https://test2.funkwhale.ourworld.tf
[+] funkwhale:
[+] funkwhale: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[+] funkwhale: If you like Certbot, please consider supporting our work by:
[+] funkwhale:  * Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
[+] funkwhale:  * Donating to EFF:                    https://eff.org/donate-le
[+] funkwhale: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

@PeterNashaat
Copy link
Member

  • There is a recurring dockerd and containerd log message it's not affecting the setup.
[-] dockerd: time="2024-10-17T07:59:37.372313763Z" level=warning msg="Failed to delete conntrack state for 172.18.0.4: invalid argument"
[-] dockerd: time="2024-10-17T07:59:37.549269772Z" level=warning msg="Failed to delete conntrack state for 172.18.0.5: invalid argument"
[-] dockerd: time="2024-10-17T07:59:37.622006058Z" level=warning msg="Failed to delete conntrack state for 172.18.0.6: invalid argument"
[-] containerd: time="2024-10-17T07:59:37.765969163Z" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.containerd.runc.v2 type=io.containerd.event.v1
[-] containerd: time="2024-10-17T07:59:37.771513111Z" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.containerd.runc.v2 type=io.containerd.internal.v1
[-] containerd: time="2024-10-17T07:59:37.771646315Z" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
[-] containerd: time="2024-10-17T07:59:37.774834934Z" level=info msg="loading plugin \"io.containerd.ttrpc.v1.pause\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
[-] containerd: time="2024-10-17T07:59:37.892503547Z" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.containerd.runc.v2 type=io.containerd.event.v1
[-] containerd: time="2024-10-17T07:59:37.893323862Z" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.containerd.runc.v2 type=io.containerd.internal.v1
[-] containerd: time="2024-10-17T07:59:37.893358164Z" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
[-] containerd: time="2024-10-17T07:59:37.894581997Z" level=info msg="loading plugin \"io.containerd.ttrpc.v1.pause\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
[-] containerd: time="2024-10-17T07:59:37.954317449Z" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.containerd.runc.v2 type=io.containerd.event.v1
[-] containerd: time="2024-10-17T07:59:37.955578950Z" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.containerd.runc.v2 type=io.containerd.internal.v1
[-] containerd: time="2024-10-17T07:59:37.955605422Z" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
[-] containerd: time="2024-10-17T07:59:37.956137636Z" level=info msg="loading plugin \"io.containerd.ttrpc.v1.pause\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants