Digital-Peak/DPDocker

problem to get on webserver j4 site

Closed this issue · 9 comments

Hi,

i have problem with the j4 webserver site.

localhost:80 seems ok:
Screenshot 2022-02-03 222136

If i click on j3 everthing is fine.
When open the j4 sites i see this.

Patch release Joomla 4 site with local extensions linked localhost/j4
Just a white site
Screenshot 2022-02-03 222610

Feature release Joomla 4 site with dev extensions linked localhost/dev4
Errors occurs
Screenshot 2022-02-03 222649
Screenshot 2022-02-03 222658

Joomla 4 playground localhost/play4
Also a white site.

SQL Databases looks this:
Screenshot 2022-02-03 222849

I've a testsystem with windows WSL, Ubuntu 20.04 and Docker Desktop


  1. Any suggestion for this issue?
  2. After lot of hours with dpdocker, i just didn't figure out how i can link my extension. Especially when it is stored on the windows file system. Where are the settings for linking a component project folder? (e.g d:/projects/com1)

How did you start the container? Perhaps you have missed some environment variables.

cd DPDocker
webserver/run.sh

And you are on Linux?

Im on a windows machine with WSL support and Docker Desktop.
I start the webserver in the lunix cli.

When you started the web server can you extract a Joomla download package to the folder webserver/www/test? Then open the link localhost/test and make the normal installation. Do you succeed?
When the web server started what for a PHP version does it show?

Download to test and open it works fine
Webserver starts with php 8.0.28

Screenshot 2022-02-04 174710

I did a new clean installation of DPDocker.
I started the webserver and webserver was not reachable. All the other localhost ports are working (mysql, ftp,...)
I was confused that the webserver starts on port 443
Screenshot 2022-02-04 175313

So i just commend out the webserver port 443 line in webserver/docker-compose.yml
Screenshot 2022-02-04 181623

After that, webserver was started with port 80 and i can browse to that.
After comment the line in again, the container still starts with 443 and oddly enough, only localhost:80 works yet.
I dont understand that? Maybe the port 80 was blocked?

Anyway, localhost/j4 just does not work.
BUT, now an other error occurs.
Screenshot 2022-02-04 182439

By the way, localhost/play4 seems working

Little update:
The containers are now running. I think there was a problem with images/build.sh.

Another Question:
When I git clone the repo, it is installed at home/<username>. Because this is the home directory for wsl.
In the description, the directory /usr/src/Projects should be used. So I clone the DPAttachements repo as well. DPDocker and DPAttachements lie next to each other at home/<username>. Joomlas discover does not work for this because of the path.
Where I can change the mapped directory for my extension?

Please open a new issue when there is a new problem. Marking this as closed as the issue got solved.