-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi
I'm using this docker-compose file:
yourls:
image: bios/docker-yourls
environment:
- SSL_SELFSIGNED=true
- DB_PREFIX=yourls_
- SSL_PROTOCOLS=TLSv1 TLSv1.1 TLSv1.2
- SSL_CIPHERS=AES256+EECDH:AES256+EDH
- YOURLS_RELATIV_URL_ROOT=/short
- YOURLS_SITE=http://<hidden>
- YOURL_USER=admin
- YOURL_PASSWORD=<hidden>
- FQDN=<hidden>
links:
- yourlsmysql:mysql
ports:
- 50502:80
volumes:
- /volume1/docker/yourls/data:/data
yourlsmysql:
image: mysql
environment:
- MYSQL_ROOT_PASSWORD=<hidden>
- MYSQL_DATABASE=yourls
volumes:
- /volume1/docker/yourls/mysql-data:/var/lib/mysql
I get this error log:
starting installation
stdout
07:19:19
path to yourls: short
stdout
07:19:19
/bin/mv: cannot move `/usr/share/nginx/yourls/' to `/usr/share/yourls/RWlzYW9iYWluZzBpZXNoCg': No such file or directory
stderr
07:19:19
/bin/mv: cannot stat `/usr/share/nginx/RWlzYW9iYWluZzBpZXNoCg/*': No such file or directory
stderr
07:19:19
/bin/mv: cannot stat `/usr/share/nginx/RWlzYW9iYWluZzBpZXNoCg/.??*': No such file or directory
stderr
07:19:19
YOURLS_SITE name: <hidden>
stdout
07:19:19
DB_PREFIX: yourls_
stdout
07:19:19
YOURL_USER: admin
stdout
07:19:19
found YOURL_PASSWORD
stdout
07:19:19
linked mysql detected with container id 1bc12e2576f4 and version 5.7.17-1debian8
stdout
07:19:19
no linked postgresql detected
stdout
07:19:19
no external mysql detected
stdout
07:19:19
/bin/mkdir: cannot create directory `/data': File exists
stderr
07:19:19
using linked mysql
stdout
07:19:19
MySQL host is mysql
stdout
07:19:19
set MySQL user default to: root
stdout
07:19:19
/init.sh: line 91: /usr/share/nginx/yourls/short/config/config.php: No such file or directory
stderr
07:19:19
/bin/chown: cannot access `/usr/share/nginx/yourls/short/config/config.php': No such file or directory
stderr
07:19:19
found fqdn <hidden>
stdout
07:19:19
generating selfsigned cert
stdout
07:19:20
Generating a 2048 bit RSA private key
stderr
07:19:20
...+++
stderr
07:19:20
....................................................+++
stderr
07:19:20
writing new private key to '/etc/nginx/ssl/nginx.key'
stderr
07:19:20
-----
stderr
07:19:20
You are about to be asked to enter information that will be incorporated
stderr
07:19:20
into your certificate request.
stderr
07:19:20
What you are about to enter is what is called a Distinguished Name or a DN.
stderr
07:19:20
There are quite a few fields but you can leave some blank
stderr
07:19:20
For some fields there will be a default value,
stderr
07:19:20
If you enter '.', the field will be left blank.
stderr
07:19:20
-----
stderr
07:19:20
Country Name (2 letter code) [XX]:string is too long, it needs to be less than 2 bytes long
stderr
07:19:20
Country Name (2 letter code) [XX]:string is too long, it needs to be less than 2 bytes long
stderr
07:19:20
Country Name (2 letter code) [XX]:problems making Certificate Request
stderr
07:19:20
/bin/mv: cannot stat `/usr/share/nginx/yourls/short/config//plugins': No such file or directory
stderr
07:19:20
ln: creating symbolic link `/usr/share/nginx/yourls/short/config//plugins': No such file or directory
stderr
07:19:22
nginx: [warn] server name "http://<hidden>" has suspicious symbols in /etc/nginx/conf.d/default.conf:6
stderr
07:19:22
nginx: [warn] server name "http://<hidden>" has suspicious symbols in /etc/nginx/conf.d/ssl.conf:6
stderr
07:19:22
nginx: [emerg] BIO_new_file("/etc/nginx/ssl/nginx.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/nginx.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
stderr
07:19:22
create backup
stdout
07:19:22
/bin/mkdir: cannot create directory `/data/backup': File exists
stderr
When I vist the URL I just get an Nginx 504 error. I suppose it is a problem with the folders/files not found errors?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels