Wordpress alongside nextcloudpi, how to avoid conflicts?

I have no support/technical question and have seen the support category. (Be aware that direct support questions will be deleted.)

on

Which general topic do you have

I have made a standard “fresh” nextcloudpi installation on a raspberry 4B and I am really pleased that it works, being visible from the internet. I am not a great expert, but following the various tutorials made this possible.

I now would like to make a wordpress installation on that same server and I think I saw, somewhere, a note that this would be perfectly possible. I do realize that I can’t expect high performance but that is not a concern I have at this time. My problem is that I have a strong feeling that application of most wordpress tutorials could effectively risk messing up my existing nextcloud database.

Where can I find some hints (adapted to my limited level of skills) about installing wordpress without putting nextcloud at risk?

Thanks

so you are asking a technical question under general, right?
Why not posting it directly under “support”?

I want to remove this topic - no idea why I can’t do that myself.

you don’t need to do that. I moved it over to “support”.

and let’s see what comes out of it.

this could turn out as a bit problematic… you should know what you’re setting up and how. At least some basic knowledge would be great.
So why not trying our 101-tutorials? They are great and easy to understand. Try them.

Thanks for your help !

In part, I already figured out one solution (have wordpress in a docker container), although there are some aspects I am still working on.

I am interested to learn but also found the “straight” nextcloudpi very seductive, because I seem to be not fully able (yet) to understand the relationships between nextcloud, the database and the web server - and this all came nicely integrated of course.

I also do understand that, in a certain way, docker is meant to help you around this complexity.

Thanks again.

kudos to nextcloudpi/ncp. I had that running myself for some time when I was a beginner.

Afaik it’s going to be EOL in the not-so-far future. The master-maintainer is already working on a successor-app called “atomic” (if I remember that right).

So if you are fresh in installing such things I do recommend another community-Project (an offical one) which is easy to install, it’s called All-in-One - AiO. It’s based on docker and is pretty well maintained. In the long run you’ll let go of ncp, sadly and to change to some other product. And afaik docker runs on a pi well enough to try and run AiO as well. so why not giving it a try? Better now than later…?

1 Like

Thanks, definitely want to look at that!

1 Like

That tutorial is excellent, thank you. And the good news is that, for the time being, my experimentation with a parallel wordpress setup on the raspi has not in any way caused trouble for nextcloud(pi) which runs smoothly.

But I cannot for my life find out how to configure the port access to the docker-wordpress in a way that lets me access wordpress in a safe and stable way. I am assuming that I should use non-standard ports for this, but which ones, and how to configure them during the docker compose is not clear to me.

To clarify my goal: I want to run nextcloud and wordpress on the same raspi 4B with separate external access. I want to do this for some very moderate practical family-type applications and also in order to learn a little more about my own potential digital sovereignty.

(but I guess all that is really off-topic here - I am just noticing that most beginner-type wordpress tutorials are written as if nothing else happened on the raspi except wordpress, and I cannot find the right way around that problem)

if you’d install AiO it’s gonna install a so-called reverse-proxy for you automatically (I can’t remember if NCP does that as well, but I’m assuming that it does as well).

So What is a reverse-proxy you might ask and do I need it?

Have a look there and you might find out what it is good for and how to set it up for your usecase so that you don’t need to juggle around with alternative open ports… since not every installation works good with alternative ports (like Nextcloud most probably won’t like that - i dunno about WP).

Once you got behind how to set it up correctly it’ll make your life easier. And it’s no magic to get behind the setup, I promise.

As I am looking at ways to enable a reverse proxy, capable to serve multiple services (nextcloud but also wordpress), am I right to assume that this is absolutely crucial: Reverse proxy — Nextcloud latest Administration Manual latest documentation
For me, the interesting use of nextcloud is indeed the caldav and carddav functionality.

(maybe AiO is doing that all by itself - but I currently try to maintain my ncp installation)

apparently yes.

AiO comes with a preinstalled proxy, fully configured for running NC flawlessly. The only thing you’d need to do is adding your wordpress to it.

“add wordpress to it” would imply what sort of action? Adding some lines to a configuration file or something more complex?

at least adding the needed information for your wordpress-setup to the config-file of your reverse-proxy.