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

Solr + mysql docker container failed to download #6650

Open
licensechef opened this issue Jun 1, 2023 · 2 comments
Open

Solr + mysql docker container failed to download #6650

licensechef opened this issue Jun 1, 2023 · 2 comments
Labels
status: triage this needs sorting and proper labelling type: bug this describes something that isn't working

Comments

@licensechef
Copy link

licensechef commented Jun 1, 2023

Solr & Mysql container not downloading after running make up

make up
Starting containers
WARN[0000] The "APACHE_SCRATCHPADS_TAVERNA_AUTH_TOKEN" variable is not set. Defaulting to a blank string. 
[+] Running 2/2
 ! varnish Warning                                                                                                                                                        0.3s 
 ! mysql Warning                                                                                                                                                          0.3s 
[+] Building 8.7s (6/6)                                                                                                                                                        
 => [solr internal] load build definition from Dockerfile                                                                                                                 0.0s
 => => transferring dockerfile: 1.19kB                                                                                                                                    0.0s
 => [solr internal] load .dockerignore                                                                                                                                    0.0s
 => => transferring context: 2B                                                                                                                                           0.0s
 => [mysql internal] load build definition from Dockerfile                                                                                                                0.0s
 => => transferring dockerfile: 95B                                                                                                                                       0.0s
 => [mysql internal] load .dockerignore                                                                                                                                   0.0s
 => => transferring context: 2B                                                                                                                                           0.0s
 => ERROR [solr internal] load metadata for docker.io/library/java:7-jre                                                                                                  0.1s
 => CANCELED [mysql internal] load metadata for docker.io/library/mysql:5.6                                                                                               0.1s

To Reproduce
Followed the steps on https://scratchpads.readthedocs.io/en/latest/hosting/docker.html to prep the server for docker. At the make up step, it'll return the result above

Tried this on a Ubuntu 20 and AlmaLinux 8 server

Tried this with docker logged in and without logged in

Impact
It doesn't start scratchpads at all

@licensechef licensechef added status: triage this needs sorting and proper labelling type: bug this describes something that isn't working labels Jun 1, 2023
@licensechef licensechef changed the title Solr + mysqld docker container failed to download Solr + mysql docker container failed to download Jun 1, 2023
@benscott
Copy link
Member

benscott commented Jun 9, 2023

Please could you try building the solr image with the command:

docker build -t naturalhistorymuseum/scratchpad-solr -t naturalhistorymuseum/scratchpad-solr:1 docker/solr

And post the output here

@licensechef
Copy link
Author

licensechef commented Jun 9, 2023

docker build -t naturalhistorymuseum/scratchpad-solr -t naturalhistorymuseum/scratchpad-solr:1 docker/solr
[+] Building 0.3s (4/4) FINISHED                                                                                                                                               
 => [internal] load build definition from Dockerfile                                                                                                                      0.0s
 => => transferring dockerfile: 1.19kB                                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                                         0.0s
 => => transferring context: 2B                                                                                                                                           0.0s
 => ERROR [internal] load metadata for docker.io/library/java:7-jre                                                                                                       0.2s
 => [auth] library/java:pull token for registry-1.docker.io                                                                                                               0.0s
------
 > [internal] load metadata for docker.io/library/java:7-jre:
------
Dockerfile:1
--------------------
   1 | >>> FROM java:7-jre
   2 |     
   3 |     ARG SOLR_UNDERTOW_DIRECTORY='/usr/local/share/solr-undertow'
--------------------
ERROR: failed to solve: java:7-jre: docker.io/library/java:7-jre: not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: triage this needs sorting and proper labelling type: bug this describes something that isn't working
Projects
None yet
Development

No branches or pull requests

2 participants