lmoroz / bWAPP

bWAPP latest modified for PHP7 bundled with Docker container
47 stars 69 forks source link

log directory not found #10

Open Anpilaot opened 4 months ago

Anpilaot commented 4 months ago

Hey.

I try to install the docker by using docker-compose up, and it returns an error on phase 10: It says "chmod: cannot access '/var/www/html/bWAPP/logs/': No such file or directory"

image

Should I modify something in the docker?

lmoroz commented 4 months ago

fixed

  1. Update the repository by pulling the latest changes using the command git pull.

  2. Flush and restart the Docker container by executing the following commands:

    • Stop the container using the command docker-compose down.
    • Rebuild the container without using any cached layers using the command docker-compose build --no-cache.
    • Start the container in the background using the command docker-compose up -d.
lmoroz commented 4 months ago

@Anpilaot ,

Navigate to the directory where the docker-compose.yml file is located.

In your case, it seems to be bWAPP (not bWAPP/bWAPP).

And run the git pull command there.

Or just re-download the repository if you just downloaded it before.

Anpilaot commented 4 months ago

@lmoroz

I managed to pull and do the --no-cache build.

I run the server and it can't find the SQL database. Am I still using an old version maybe?

image

lmoroz commented 4 months ago

@Anpilaot, To install the app, you need to open the following link: http://35.184.231.231:8080/bWAPP/install.php. Once you are on the page, click on the word "here" to proceed with the installation. image

Anpilaot commented 4 months ago

Thank you so much! I managed to install it.

On Tue, Apr 16, 2024 at 12:25 PM Larisa Moroz @.***> wrote:

@Anpilaot https://github.com/Anpilaot, To install the app, you need to open the following link: http://35.184.231.231:8080/bWAPP/install.php. Once you are on the page, click on the word "here" to proceed with the installation. image.png (view on web) https://github.com/lmoroz/bWAPP/assets/25585142/3ef590c5-0d2e-41a8-b647-a8f777e1fe9b

— Reply to this email directly, view it on GitHub https://github.com/lmoroz/bWAPP/issues/10#issuecomment-2058641140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXZ5354TQPVTTETQRK5N3OTY5TU7FAVCNFSM6AAAAABGI3GHXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJYGY2DCMJUGA . You are receiving this because you were mentioned.Message ID: @.***>