Questions tagged [docker]
The docker tag has no usage guidance.
19
questions
0
votes
1
answer
44
views
Transfering content from my local docker environment to production
For the second time, I've created a website with CraftCms. This time, I used my windows computer to setup the project but I had to use docker. Fyi, I'm not experienced with docker, but I was ...
2
votes
1
answer
97
views
OPcache extension Warning
I updated my Craft installation to 4.5.3, right? And then I noticed this warning pops up in the system report, saying, "The OPcache extension is recommended in production environments." ...
2
votes
2
answers
104
views
Access some sort of db in docker
I've been absent to webdev for a while and trying to get up to speed with this new ddev thingy.
So I installed craft 4 via ddev and docker and such. And now I want to import an older db.
Is there some ...
1
vote
0
answers
20
views
Merging production version into local environment
My live Craft site was built by another dev a while back just before I joined the company, at the time of launching it I had it setup locally with docker and the most recent site files. Since it has ...
0
votes
0
answers
173
views
Craft CMS + Docker Deployment Strategy
We are about to move to a new development and hosting environment (I am also new to Craft). Our planned development workflow is as follows: develop and test on a local craft cms docker container ...
1
vote
1
answer
187
views
Updating Craft from Terminal
I have a Craft 3 docker container. Craft is on version 3.7.44.
I log into the container with: docker exec -it [container id] /bin/sh
In the container I run: php craft update
Output:
Fetching ...
1
vote
1
answer
92
views
Craft CMS Docker Environment Variables for SMTP
Where can I find the possible environment variables that the craftcms docker images accept?
We want to be able to add our SMTP settings.
In some examples I have seen the following SMTP related ...
1
vote
1
answer
165
views
Craft CMS ERR_ADDRESS_INVALID
I have a remote VM developer environment based on Ubuntu 22.04.1 LTS.
I have a development directory where I have checked out a GIT repo for our Craft CMS project.
In this folder is also a docker-...
1
vote
1
answer
62
views
Nitro unable to init or start after Docker update
I did an update of Docker and to my surprise all my containers/images/etc were gone. So I figured I simply needed to init and start nitro again.
When attempting to start or init it keeps resulting in ...
0
votes
0
answers
205
views
Upgrading Craft (and docker image) now causes SIGSEGV core dumps and problems with mutex locks
I just upgraded to 3.7.27.2 (as an intermediate step) and since I'm always deploying with the latest docker image (craftcms/nginx:7.4) I have also gotten the latest expat upgrade.
I'm not sure where ...
1
vote
1
answer
149
views
Deploy Craft CMS site to VPS for the first time
I'm completely new to deploying a Craft CMS to a web server and don't know where to start. I have self taught experience in front-end development but I'm lost when it comes to anything deployment/...
5
votes
1
answer
213
views
How to use Browsersync within Craft Nitro
I have a Craft CMS site running locally, using Craft Nitro. I want to use the nitro node container, rather than my own, which works beautifully except with regard to browsersync, and I'm not sure what ...
1
vote
1
answer
92
views
Nitro / Docker: containers missing
Posting this as a problem and then answering it in case it helps someone else.
The sequence of events:
I had 3 sites running under Craft Nitro 2 and Docker 3.x
I became aware that Docker had moved to ...
2
votes
3
answers
399
views
SSL certificate for Docker container in Nitro 2 has expired: what to do?
I created a Docker container 3 months ago. I’ve only just come back to it and find its SSL certificate has expired.
I can find nothing on what is best to do.
Is it best to reissue the certificate? If ...
1
vote
1
answer
299
views
Trouble running craft with docker
I'm trying to set up craft to run with the docker images provided here. When I run docker-compose build, it gets through a few lines in the Dockerfile and then stops with an invalid reference error ...
3
votes
0
answers
622
views
Craft in Docker throws '/app/web/cpresources doesn’t exist or isn’t writable by PHP'
I'm trying to deploy a Dockerized Craft CMS website. The basic setup is as follows:
craft running in Docker
nginx running on the server, using proxy_pass to point to docker container
The setup ...
1
vote
2
answers
1k
views
Upgrading Craft CMS fails
I'm trying to upgrade from 3.3.15 -> 3.5.5 from control panel.
I run it via docker so all I need is to update the composer.lock file to have the correct dependencies and everything should be fine ...
1
vote
1
answer
342
views
Assets (in assets folder) failing to load locally [Craft 2]
I'm trying to get my Craft 2 site running locally again (it worked at one point but now does not).
I have gotten all the db related issues (seemingly) done and dusted and the admin loads fine, but it ...
1
vote
1
answer
882
views
ERROR: relation "info" does not exist
Be warned this is sort of Docker related question too.
I try to build local development environment using Docker (nginx 1.16.1 + postgresql 12.1.0) running Craft 3.4.1.
I've came up to a point where ...