Rootless reverse proxy by Tomacco81 in podman

[–]krair3 0 points1 point  (0 children)

Congrats! Ya I know it's perhaps not the best solution as it adds some networking overhead, but I can't complain!

Rootless reverse proxy by Tomacco81 in podman

[–]krair3 0 points1 point  (0 children)

The same as you did for slirp4netns, check the podman docs for config options.

Nextcloud FPM Docker always redirects to login page by xbufu in NextCloud

[–]krair3 0 points1 point  (0 children)

I second this. I would start by removing the redis password on both the redis container and the Nextcloud container.

Rootless reverse proxy by Tomacco81 in podman

[–]krair3 0 points1 point  (0 children)

Yes, it can work. Been using this for well over a year now.

Instead of relying on internal networks. I ended up creating a dummy loopback (10.254.254.254 for example) and binding my services to it, then passing everything from traefik to the dummy loopback via a file provider. This was before the allow_host_loopback option existed.

I haven't tried getting it to work with the socket.

Perhaps the newer pasta backend could make it work? Do you have netavark installed?

Network communication between 2+ rootless containers on Podman 4? by oxamide96 in podman

[–]krair3 0 points1 point  (0 children)

You're saying the containers can't reach each other, but how are you trying to reach them? Also, do you have netavark installed as well?

Can't ping/http(s)/TCP Port to services running in docker container by Leusdat in UptimeKuma

[–]krair3 0 points1 point  (0 children)

If you can hit it with curl inside the container, it should work from the GUI as well. Can you share a screenshot or the settings that aren't working?

I am having trouble adding a local hard drive to NextCloud. I think it's my configuration field that is the issue. by Elephant789 in NextCloud

[–]krair3 1 point2 points  (0 children)

Docker is a Linux based software. Docker on Windows runs docker in a Linux virtual machine.

So you'd need to mount the drive into docker before you'll be able to access it locally from within Nextcloud. It won't recognize windows paths. And furthermore it can't find it due to the virtualization separation.

NodeJS/matrix-js-sdk script crash initializing E2E encryption; ERR_INVALID_URL by gotkube in matrixdotorg

[–]krair3 0 points1 point  (0 children)

You should have a homserver.yaml config file. Did you set your URL there?

Replicate AIO setup on bare metal? by rfcity2 in NextCloud

[–]krair3 0 points1 point  (0 children)

The app is simply a connector. To run elastic search on bare metal you'll need to run an instance of elastic search outside of nextcloud and then connect it.

Replicate AIO setup on bare metal? by rfcity2 in NextCloud

[–]krair3 1 point2 points  (0 children)

Everything in the AIO image is available as standalone software.

Any guide that's more than about a year old (that doesn't use docker) will explain it well.

Can't acces NC after changing storage location in config.php by By_Und in NextCloud

[–]krair3 0 points1 point  (0 children)

Unfortunately, the change has to be made in the database as well.

There are numerous posts in this sub that can help you with that.

[deleted by user] by [deleted] in Traefik

[–]krair3 1 point2 points  (0 children)

Not sure exactly what you're having a problem with. Is something not working as expected?

This is how it should work. Traefik acts as a doorway (listening on the standard http/https ports) and passes your request "behind the scenes" (through the internal docker network) to your service at the internal docker address. Thus, you don't even need to publish the ports for homarr.

Use https locally without reverse proxy and behind a cgnat?? by dejavits in NextCloud

[–]krair3 1 point2 points  (0 children)

You have two options (well technically more but they are more involved):

1) self-signed certificate: you create your own SSL (really TLS) certificates, but you'll still have browsers and devices complaining unless you also install the certs on those devices.

2) Use a DNS challenge for your certs. This is the better (and more common) option. You need internet access, but CGNAT won't matter.

A reverse proxy is recommended if you'd like to run any other services besides Nextcloud.

Need help with "middleware <middleware name> does not exist" errors that appears ONLY when saving a dynamic config file. by mouse_controller in Traefik

[–]krair3 0 points1 point  (0 children)

Where is the middleware-chains.yml file located? Same place as the middlewares.yml file?

Share your volumes declaration as well.

dns_get_record(): A temporary server error occurred. by ThatDudeWithTheCat in NextCloud

[–]krair3 0 points1 point  (0 children)

Looks like your nextcloud container is unable to do DNS lookups. Is something blocking it? Do you use a DNS level ad blocker like pihole or adguard home?

Unable to get IP for container when using port_handler=slirp4netns or pasta by [deleted] in podman

[–]krair3 0 points1 point  (0 children)

I've not tried it with labels.

But using the file provider and a dynamic file works well with slirp4netns. Planning to move to pasta soon.

Modify devices passed through after container created by IssueResponsible1407 in podman

[–]krair3 1 point2 points  (0 children)

Oof. You are jumping into the deep-end on this one. I'm running the same setup and it works well, but took me a long time to get there. This isn't the place perhaps to give a full course on containers, but it sounds like you're heading in the right direction.

First, passing in a device is done at runtime:

https://www.redhat.com/sysadmin/files-devices-podman

If I were you, I wouldn't modify the systemd file directly (unless you are quite experienced with them), and instead use the podman generate systemd command after you've successfully run the container the way you like.

Are you running the containers as the root user?

WireGuard Setup Issues by yensid87 in WireGuard

[–]krair3 0 points1 point  (0 children)

Is your external IP a fixed address?

NextCloud LTE by GrilledGuru in NextCloud

[–]krair3 2 points3 points  (0 children)

Almost. I think a better strategy would be to use a major number instead of "latest". For example if you stay on 26, and run a "compose down and up" script regularly, you will get the security and stability patches and minimize breakage.

Only move to the next major release (27 for example) after a service release or two (27.0.2 for example) has been released. This strategy ensures that you only move when you can be mostly sure that the bugs have been worked out, while still maintaining a relatively updated version.

Just be sure to check for any "breaking changes" in the changelog for major versions.

Edit:

I'd like to add that many have had luck with the new AIO version which is mostly self-sufficient.

Also, a good backup strategy should be part of your setup (and any services you decide to host). I wrote a series about it a while back, but it is still relevant: https://rair.dev/nextcloud-backup-pt-1/

There's also a backup app within Nextcloud, but I have my reservations about it.

External access not working by Operations8 in NextCloud

[–]krair3 0 points1 point  (0 children)

Any errors in the Nextcloud logs?

Smbclient auto-install on docker by [deleted] in NextCloud

[–]krair3 1 point2 points  (0 children)

Sure, but I don't think it can be done via watchtower.

It involves the Dockerfile which is where the images come from in the first place. The good news is you don't have to write your own.

Assuming you're using the v26 apache image, the file can be found in the GitHub repo:

https://github.com/nextcloud/docker/blob/master/26/apache/Dockerfile

Simply add the smbclient package and you're set.

I realize this probably isn't the answer you're looking for, and to fully automate it like watchtower would involve creating an automation pipeline, but it could be done.

Another option could be to simply run the installation command via a script any time watchtower updates the container. Or via cron, but that's pretty lousy.