abevoelker / kubernetes-on-rails-starter-files Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://KubernetesOnRails.com
Home Page: https://KubernetesOnRails.com
Following you up on the video you created to create sql with private ip:
I stumbled upon these errors:
(master)⚡ % terraform apply /tmp/plan ~/repos/thapakazi/node-3tier-app/provision/gcloud
google_compute_network.vpc_default: Creating...
google_project_service.servicenetworking: Creating...
google_project_service.servicenetworking: Still creating... [10s elapsed]
google_project_service.servicenetworking: Still creating... [20s elapsed]
google_project_service.servicenetworking: Creation complete after 21s [id=terraforming-250207/servicenetworking.googleapis.com]
Error: Error creating Network: googleapi: Error 409: The resource 'projects/terraforming-250207/regions/us-central1/subnetworks/default' already exists, alread
yExists
on network.tf line 2, in resource "google_compute_network" "vpc_default":
2: resource "google_compute_network" "vpc_default" {
Help needed understand this.... thanks
I cloned the repo and I'm following the second video on this course, when I run make build
I get the following.
Copying files from `/etc/skel' ...
mkdir -p /var/bundle /var/www /var/www/docker /data/public
chown -R web:web /var/bundle /var/www /data
cd /var/www/
find /var/www/docker -type f -name *.sh -print0
xargs -0 chmod +x
chmod: missing operand after '+x'
Try 'chmod --help' for more information.
The command '/bin/sh -c set -ex && apt-get update && apt-get install -y --no-install-recommends sudo wget curl build-essential libcurl4-openssl-dev python-dev python-setuptools software-properties-common gnupg python-pip git file brotli && pip install python-magic && curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list && cd /tmp && wget -O su-exec-0.2.tar.gz https://github.com/ncopa/su-exec/archive/v0.2.tar.gz && tar -xzvf su-exec-0.2.tar.gz && cd su-exec-0.2/ && make && cp -a su-exec /usr/bin/ && apt-get clean && apt-get update && apt-get install -y --no-install-recommends nodejs yarn libpq-dev postgresql-client-9.6 libreadline-dev zlib1g-dev flex bison libxml2-dev libxslt1-dev libssl-dev imagemagick ca-certificates rsync && adduser web --home /home/web --shell /bin/bash --disabled-password --gecos "" && mkdir -p /var/bundle /var/www /var/www/docker /data/public && chown -R web:web /var/bundle /var/www /data && cd /var/www/ && find /var/www/docker -type f -name "*.sh" -print0 | xargs -0 chmod +x && chown -R web:web /var/www && cd /var/www/ && su-exec web bundle install --path /var/bundle --deployment --without development test deploy && su web -c 'cd /var/www && . /var/www/.env.docker-build && bundle exec rake assets:precompile' && rm -rf /var/www/tmp/* /var/www/log/* /home/web/.bundle/cache && apt-get clean && apt-get remove --purge -y apt-transport-https wget curl libcurl4-openssl-dev python-dev python-setuptools software-properties-common gnupg python-pip git libreadline-dev zlib1g-dev flex bison libxml2-dev libxslt1-dev rsync && apt-get -y autoremove && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/fonts /usr/share/doc/* /etc/fonts /root/.cache /usr/share/fontconfig /usr/share/icons /usr/share/man' returned a non-zero code: 123
make: *** [build] Error 123
This is the command where the dockerfile stops (line 63):
find /var/www/docker -type f -name "*.sh" -print0 | xargs -0 chmod +x &&\
I'm not much of a console/terminal guy, but I started looking why I might be getting this error and found that it might be that the piped result to the chmod
command might be null or empty.
If you need any more info please let me know.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.