problem to get on webserver j4 site
Closed this issue · 9 comments
Hi,
i have problem with the j4 webserver site.
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
Feature release Joomla 4 site with dev extensions linked localhost/dev4
Errors occurs
Joomla 4 playground localhost/play4
Also a white site.
I've a testsystem with windows WSL, Ubuntu 20.04 and Docker Desktop
- Any suggestion for this issue?
- 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?
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
So i just commend out the webserver port 443 line in webserver/docker-compose.yml
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.
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.