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

Setup of local dev env with docker does not work #122

Open
hannes011 opened this issue Dec 20, 2022 · 1 comment
Open

Setup of local dev env with docker does not work #122

hannes011 opened this issue Dec 20, 2022 · 1 comment
Labels

Comments

@hannes011
Copy link

I've tried to start the mariadb docker container on my local mashine. (I want to contribute in this project)

I simply followed your setup guide and started the mariadb container: https://github.com/OpenOlitor/OpenOlitor/wiki/Doku-Technisch_Server_Ent-Setup

I've got the following error:

Digest: sha256:9e9b3519ecba8acbe7d5218ff53b618dd7308ef6473dd2c2b4bbbb478e2e1825
Status: Downloaded newer image for phusion/baseimage:0.9.18
 ---> 772dd063a060
Step 2/16 : MAINTAINER me <me>
 ---> Running in db162536886c
Removing intermediate container db162536886c
 ---> faa754f7519c
Step 3/16 : RUN locale-gen en_US.UTF-8
 ---> Running in 7715f6564f72
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.
Removing intermediate container 7715f6564f72
 ---> b55ca93e47f0
Step 4/16 : RUN rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh
 ---> Running in 81ae46fed990
Removing intermediate container 81ae46fed990
 ---> 7b6ae6902c6a
Step 5/16 : RUN echo "deb http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu trusty main" > /etc/apt/sources.list.d/mariadb.list &&     apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes mariadb-server mariadb-server-10.1
 ---> Running in 34d2f0cc2b3c
Ign http://archive.ubuntu.com trusty InRelease
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Ign http://ftp.osuosl.org trusty InRelease
Get:3 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:4 http://archive.ubuntu.com trusty Release [58.5 kB]
Ign http://ftp.osuosl.org trusty Release.gpg
Get:5 http://archive.ubuntu.com trusty-updates/main Sources [532 kB]
Ign http://ftp.osuosl.org trusty Release
Get:6 http://archive.ubuntu.com trusty-updates/restricted Sources [6444 B]
Get:7 http://archive.ubuntu.com trusty-updates/universe Sources [288 kB]
Get:8 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1460 kB]
Err http://ftp.osuosl.org trusty/main amd64 Packages
  
Get:9 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.4 kB]
Get:10 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [671 kB]
Err http://ftp.osuosl.org trusty/main amd64 Packages
  
Get:11 http://archive.ubuntu.com trusty-security/main Sources [220 kB]
Get:12 http://archive.ubuntu.com trusty-security/restricted Sources [5050 B]
Get:13 http://archive.ubuntu.com trusty-security/universe Sources [127 kB]
Get:14 http://archive.ubuntu.com trusty-security/multiverse Sources [3070 B]
Get:15 http://archive.ubuntu.com trusty-security/main amd64 Packages [1032 kB]
Get:16 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [18.1 kB]
Get:17 http://archive.ubuntu.com trusty-security/universe amd64 Packages [378 kB]
Get:18 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages [4730 B]
Get:19 http://archive.ubuntu.com trusty/main Sources [1335 kB]
Get:20 http://archive.ubuntu.com trusty/restricted Sources [5335 B]
Get:21 http://archive.ubuntu.com trusty/universe Sources [7926 kB]
Err http://ftp.osuosl.org trusty/main amd64 Packages
  
Get:22 http://archive.ubuntu.com trusty/main amd64 Packages [1743 kB]
Get:23 http://archive.ubuntu.com trusty/restricted amd64 Packages [16.0 kB]
Get:24 http://archive.ubuntu.com trusty/universe amd64 Packages [7589 kB]
Err http://ftp.osuosl.org trusty/main amd64 Packages
  
Err http://ftp.osuosl.org trusty/main amd64 Packages
  404  Not Found [IP: 140.211.166.134 80]
Fetched 23.6 MB in 3s (6326 kB/s)
W: Failed to fetch http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found [IP: 140.211.166.134 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c echo "deb http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu trusty main" > /etc/apt/sources.list.d/mariadb.list &&     apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes mariadb-server mariadb-server-10.1' returned a non-zero code: 100

I'm using Ubuntu 22.04 with Docker version 20.10.21

Kind regards
Hannes

@hannes011 hannes011 added the bug label Dec 20, 2022
@AlwinEgger
Copy link
Member

Hi @hannes011

Thank you for your feedback!

The wiki-page you are referring to needs to be updated! By now it's a lot more straight forward to use the docker-compose configuration.

Depending on what you want to develop, let run the other components as docker-containers as well as mariadb and minio. Let run the server and/or client component locally.

So our ToDo:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Bugs to Fix
Development

No branches or pull requests

2 participants