roller icon indicating copy to clipboard operation
roller copied to clipboard

Local installation failing to install

Open amazingrando opened this issue 6 years ago • 6 comments

I'm attempting to install this locally so that I can work on some styling for it and I cannot get this to install. See the error below.


Sending build context to Docker daemon  953.9kB
Step 1/14 : FROM golang
 ---> 80bb9c6de3f2
Step 2/14 : RUN apt-get update -qqy && apt-get install -qqy     curl     gcc     python-dev     python-setuptools     apt-transport-https     lsb-release     openssh-client     git     gnupg     python-pip
 ---> Using cache
 ---> 359e80e665fd
Step 3/14 : RUN pip install -U crcmod
 ---> Using cache
 ---> 66bb3ecd6fec
Step 4/14 : ENV GOPATH=/gocode/app
 ---> Using cache
 ---> 6a1319eb999c
Step 5/14 : RUN echo "deb http://packages.cloud.google.com/apt cloud-sdk-stretch main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
 ---> Using cache
 ---> f9e3c154474a
Step 6/14 : RUN cat /etc/apt/sources.list.d/google-cloud-sdk.list
 ---> Using cache
 ---> 5b57e7ba4018
Step 7/14 : RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
 ---> Using cache
 ---> 8e35121ee176
Step 8/14 : RUN apt-get update -qqy && apt-get install -qqy google-cloud-sdk
 ---> Using cache
 ---> 3f5be106d336
Step 9/14 : RUN apt-get install -qqy google-cloud-sdk-app-engine-python google-cloud-sdk-app-engine-go google-cloud-sdk-datastore-emulator
 ---> Running in f5f92a27c7dd
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get install -qqy google-cloud-sdk-app-engine-python google-cloud-sdk-app-engine-go google-cloud-sdk-datastore-emulator' returned a non-zero code: 100

Starting the server on port 8080...

Unable to find image 'roller:latest' locally
docker: Error response from daemon: pull access denied for roller, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.```

I'm not proficient enough with Docker to troubleshoot this alone. (I tried.)

amazingrando avatar Aug 30 '19 16:08 amazingrando

I've never tried running it inside a docker instance. I either just do it locally on my laptop or push it to a private testing app engine app instance.

shanel avatar Aug 31 '19 03:08 shanel

@shanel How would you recommend that I get this up and running locally? (I'm not familiar with Go.)

amazingrando avatar Aug 31 '19 19:08 amazingrando

Install Go. Install the Google cloud sdk including go AppEngine components

Create a new directory. Move into that directory. Run go get -u GitHub.com/shanel/roller

Read documentation about running the devappserver.py script.

On Sat, Aug 31, 2019, 3:24 PM Randy Oest [email protected] wrote:

@shanel https://github.com/shanel How would you recommend that I get this up and running locally? (I'm not familiar with Go.)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shanel/roller/issues/78?email_source=notifications&email_token=AAAVYW6QFJR5UCHOE6GZDOLQHLANVA5CNFSM4ISPC4S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5TTVTI#issuecomment-526858957, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAVYW45QP5ZBCDIOFXNXPLQHLANVANCNFSM4ISPC4SQ .

shanel avatar Sep 01 '19 17:09 shanel

I've been trying to get docker going too. The error you're seeing is due to a missing openjdk-8-jdk in debian buster. I'm been working on updating the docker file, but I'm still nowhere... getting a GOPATH error. Will pull request when I've got something real.

Edit -- Nowhere's not true. I've got a Dockerfile that successfully installs the cloudsdk parts, but fails on the go get command. "go get: no install location for directory /gocode/app/project outside GOPATH"

Disclosure - I don't know squat about go or appengine.

exedore6 avatar Sep 14 '20 02:09 exedore6

Hey y'all, I'm the author of the Dockerfile. I also am a novice at Go / AppEngine, so Docker was the only way that felt safe to get roller running on my Ubuntu 18.04 box. Now that I'm on 20.04, I'm having some of the same experiences trying to run in docker from a fresh clone of this repo. Sorry!

sjbrown avatar Jan 12 '21 17:01 sjbrown

I (who also know little to nothing about go) suspect that there's some go version issues for the locally hosted script. When I was trying to get it to build, I got close by being specific with versions, I got it close but in the end, I gave up.

I suspect that the code isn't in a runnable state for the fully self-hosted mode without docker being involved. I haven't had time to dig into it from there.

exedore6 avatar Jan 13 '21 02:01 exedore6