Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container not working #6

Open
louisdj opened this issue Apr 10, 2017 · 0 comments
Open

Container not working #6

louisdj opened this issue Apr 10, 2017 · 0 comments

Comments

@louisdj
Copy link

louisdj commented Apr 10, 2017

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 &quot;http://<hidden>&quot; has suspicious symbols in /etc/nginx/conf.d/default.conf:6
stderr
07:19:22
nginx: [warn] server name &quot;http://<hidden>&quot; has suspicious symbols in /etc/nginx/conf.d/ssl.conf:6
stderr
07:19:22
nginx: [emerg] BIO_new_file(&quot;/etc/nginx/ssl/nginx.crt&quot;) 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant