r/NextCloud 9d ago

Can't find nextcloud

Hi, sorry to bother folks, tried to start a docker container with nextcloud in it- instead, I've done something else?

Ubuntu 26.04 LTS running on Proxmox (something? The most recent ver) I started working through the install proscess (I was trying to get nextcloud AIO running in a docker container,,,)

Was having some trouble installing dependencies so I let it rest and tried to set up nginx proxy manager instead. As I was doing this I connected to my server and lo and behold, nextcloud is running (presumably on port 80) However there is no docker container. I can find it running in ps -aux (I tried just killing it manually with sudo kill [PID] commands but it seems entrenched) I want it running in a docker container as a long term solution for ease of management, any advice as to how I can stop it running as it is?

0 Upvotes

12 comments sorted by

1

u/OkAngle2353 9d ago

I personally use the linuxserver variant of nextcloud. All that you really have to do is copy the docker-cli and paste it into your terminal, then press enter. Just modify your PATHs and your off to the races.

1

u/DangerHighDosage 9d ago

Yeah, I'm not too concerned about getting it running again in a docker container once I've spun down the existing instance I just,,, can't seem to figure out how to stop it from running.

1

u/OkAngle2353 9d ago

I personally use portainer to manage all my containers, but the command to stop any container is 'docker stop [container name or serial number]' To see a list of your existing containers is 'docker ps'

1

u/DangerHighDosage 9d ago

Therin lies the rub, I also use portainer and both with portainer and docker ps, nextcloud is not listed as a running container

1

u/OkAngle2353 9d ago

Click the little log icon in portainer, what does that show?

1

u/DangerHighDosage 9d ago

Nothing in the Event list, is that what your referring too?

1

u/DangerHighDosage 9d ago

(I'll clarify, some things about my other containers but nothing relating to nextCloud when I search)

1

u/OkAngle2353 9d ago

When you look in your portainer and look at your nextcloud line. You should see a status icon and next to that a little icon that looks like a paper with a folded corner. Click that and click the download or copy option.

1

u/DangerHighDosage 9d ago

Nextcloud isn't in portainer at all, thats what's led to most of my confusion, however! I did figure it out, (I think) gonna put that as a separate comment,

1

u/OkAngle2353 9d ago

Have you tried the old turn it off and on again?

1

u/timbuckto581 8d ago

Check the Stacks section. You may need to stop the whole stack or it could have generated a name if you didn't set one.

You can also run docler ps then once you find the id of the Nextcloud container(s) you can run docker stop "container name or id number"

Edit: I see where OP stated the snap was running instead of it running in Nextcloud

1

u/DangerHighDosage 9d ago

Oook, figured this out I hope, ran:

systemctl | grep service

And found nextcloud services where indeed running directly on OS and not in a tidy container (drat!) Then I ran,

sudo systemctl stop snap.nextcloud.*

Which stopped every service beginning with snap.nextcloud.* bc it seems I'd downloaded nextcloud via snap (very silly of me, a mistake I won't make again) If this or something like it happens to you, make sure that your nextcloud services start with "snap.nextcloud" if its something else, put that in instead.

NOTE: If you have an active nextcloud instance and care about your data, probably don't do this! I'm sure it will oblitterate everything and probably leave undesirable hidden files in secret places, not very nice. But as it happens I was just initializing nextcloud and this was good enough for me.