Skip to content

Commit aa2f797

Browse files
parkervcpmatthewpi
authored andcommitted
fix panel log folder
resolves pterodactyl#4838 Fixes an issue with the log symlink as well
1 parent 04d83ed commit aa2f797

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/docker/entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cd /app
33

44
mkdir -p /var/log/panel/logs/ /var/log/supervisord/ /var/log/nginx/ /var/log/php7/ \
55
&& chmod 777 /var/log/panel/logs/ \
6-
&& ln -s /var/log/panel/logs/ /app/storage/logs/
6+
&& ln -s /app/storage/logs/ /var/log/panel/
77

88
## check for .env file and generate app keys if missing
99
if [ -f /app/var/.env ]; then

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ RUN apk add --no-cache --update ca-certificates dcron curl git supervisor tar un
2323
&& chmod 777 -R bootstrap storage \
2424
&& composer install --no-dev --optimize-autoloader \
2525
&& rm -rf .env bootstrap/cache/*.php \
26+
&& mkdir -p /app/storage/logs/ \
2627
&& chown -R nginx:nginx .
2728

2829
RUN rm /usr/local/etc/php-fpm.conf \

0 commit comments

Comments
 (0)