maccam912 / MEANJS

6 stars 10 forks source link

Can't build via Kitematic #1

Open funkytaco opened 9 years ago

funkytaco commented 9 years ago

I can't build your image via KiteMatic.

https://registry.hub.docker.com/u/maccam912/meanjs/

It looks like for some reason the build might be failing? https://registry.hub.docker.com/u/maccam912/meanjs/builds_history/37563/

Your build sounds like the most well thought out, but if you don't have time for this project, let me know and I could try another mean stack.

maccam912 commented 9 years ago

My bad for the extremely long wait before a response. I'm playing with this docker image again to see if I can get those builds working once again. I don't have kitematic to play with myself, but if it has any logs about what isn't working, you can send them my way and I'll see if I can fix the issues.

funkytaco commented 9 years ago

docker logs showed nothing for the container.

Here's just the output of everything in /var/log:

==> alternatives.log <==
update-alternatives 2015-06-26 20:32:22: link group c89 updated to point to /usr/bin/c89-gcc
update-alternatives 2015-06-26 20:32:22: run with --quiet --install /usr/bin/c99 c99 /usr/bin/c99-gcc 20 --slave /usr/share/man/man1/c99.1.gz c99.1.gz /usr/share/man/man1/c99-gcc.1.gz
update-alternatives 2015-06-26 20:32:22: link group c99 updated to point to /usr/bin/c99-gcc
update-alternatives 2015-06-26 20:32:22: run with --install /usr/bin/c++ c++ /usr/bin/g++ 20 --slave /usr/share/man/man1/c++.1.gz c++.1.gz /usr/share/man/man1/g++.1.gz
update-alternatives 2015-06-26 20:32:22: link group c++ updated to point to /usr/bin/g++
update-alternatives 2015-06-26 20:32:22: run with --install /usr/bin/lzma lzma /usr/bin/xz 20 --slave /usr/share/man/man1/lzma.1.gz lzma.1.gz /usr/share/man/man1/xz.1.gz --slave /usr/bin/unlzma unlzma /usr/bin/unxz --slave /usr/share/man/man1/unlzma.1.gz unlzma.1.gz /usr/share/man/man1/unxz.1.gz --slave /usr/bin/lzcat lzcat /usr/bin/xzcat --slave /usr/share/man/man1/lzcat.1.gz lzcat.1.gz /usr/share/man/man1/xzcat.1.gz --slave /usr/bin/lzmore lzmore /usr/bin/xzmore --slave /usr/share/man/man1/lzmore.1.gz lzmore.1.gz /usr/share/man/man1/xzmore.1.gz --slave /usr/bin/lzless lzless /usr/bin/xzless --slave /usr/share/man/man1/lzless.1.gz lzless.1.gz /usr/share/man/man1/xzless.1.gz --slave /usr/bin/lzdiff lzdiff /usr/bin/xzdiff --slave /usr/share/man/man1/lzdiff.1.gz lzdiff.1.gz /usr/share/man/man1/xzdiff.1.gz --slave /usr/bin/lzcmp lzcmp /usr/bin/xzcmp --slave /usr/share/man/man1/lzcmp.1.gz lzcmp.1.gz /usr/share/man/man1/xzcmp.1.gz --slave /usr/bin/lzgrep lzgrep /usr/bin/xzgrep --slave /usr/share/man/man1/lzgrep.1.gz lzgrep.1.gz /usr/share/man/man1/xzgrep.1.gz --slave /usr/bin/lzegrep lzegrep /usr/bin/xzegrep --slave /usr/share/man/man1/lzegrep.1.gz lzegrep.1.gz /usr/share/man/man1/xzegrep.1.gz --slave /usr/bin/lzfgrep lzfgrep /usr/bin/xzfgrep --slave /usr/share/man/man1/lzfgrep.1.gz lzfgrep.1.gz /usr/share/man/man1/xzfgrep.1.gz
update-alternatives 2015-06-26 20:32:22: link group lzma updated to point to /usr/bin/xz
update-alternatives 2015-06-26 20:32:22: run with --install /usr/bin/fakeroot fakeroot /usr/bin/fakeroot-sysv 50 --slave /usr/share/man/man1/fakeroot.1.gz fakeroot.1.gz /usr/share/man/man1/fakeroot-sysv.1.gz --slave /usr/share/man/man1/faked.1.gz faked.1.gz /usr/share/man/man1/faked-sysv.1.gz --slave /usr/share/man/es/man1/fakeroot.1.gz fakeroot.es.1.gz /usr/share/man/es/man1/fakeroot-sysv.1.gz --slave /usr/share/man/es/man1/faked.1.gz faked.es.1.gz /usr/share/man/es/man1/faked-sysv.1.gz --slave /usr/share/man/fr/man1/fakeroot.1.gz fakeroot.fr.1.gz /usr/share/man/fr/man1/fakeroot-sysv.1.gz --slave /usr/share/man/fr/man1/faked.1.gz faked.fr.1.gz /usr/share/man/fr/man1/faked-sysv.1.gz --slave /usr/share/man/sv/man1/fakeroot.1.gz fakeroot.sv.1.gz /usr/share/man/sv/man1/fakeroot-sysv.1.gz --slave /usr/share/man/sv/man1/faked.1.gz faked.sv.1.gz /usr/share/man/sv/man1/faked-sysv.1.gz
update-alternatives 2015-06-26 20:32:22: link group fakeroot updated to point to /usr/bin/fakeroot-sysv
update-alternatives 2015-06-26 20:32:22: run with --install /usr/bin/fakeroot fakeroot /usr/bin/fakeroot-tcp 30 --slave /usr/share/man/man1/fakeroot.1.gz fakeroot.1.gz /usr/share/man/man1/fakeroot-tcp.1.gz --slave /usr/share/man/man1/faked.1.gz faked.1.gz /usr/share/man/man1/faked-tcp.1.gz --slave /usr/share/man/es/man1/fakeroot.1.gz fakeroot.es.1.gz /usr/share/man/es/man1/fakeroot-tcp.1.gz --slave /usr/share/man/es/man1/faked.1.gz faked.es.1.gz /usr/share/man/es/man1/faked-tcp.1.gz --slave /usr/share/man/fr/man1/fakeroot.1.gz fakeroot.fr.1.gz /usr/share/man/fr/man1/fakeroot-tcp.1.gz --slave /usr/share/man/fr/man1/faked.1.gz faked.fr.1.gz /usr/share/man/fr/man1/faked-tcp.1.gz --slave /usr/share/man/sv/man1/fakeroot.1.gz fakeroot.sv.1.gz /usr/share/man/sv/man1/fakeroot-tcp.1.gz --slave /usr/share/man/sv/man1/faked.1.gz faked.sv.1.gz /usr/share/man/sv/man1/faked-tcp.1.gz

==> apt <==
tail: error reading 'apt': Is a directory

==> bootstrap.log <==
gpg: key EFE21092: public key "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" imported
gpg: Total number processed: 4
gpg:               imported: 4  (RSA: 2)
Setting up libstdc++6:amd64 (4.8.2-19ubuntu1) ...
Setting up readline-common (6.3-4ubuntu2) ...
Setting up libapt-pkg4.12:amd64 (1.0.1ubuntu2) ...
Setting up libreadline6:amd64 (6.3-4ubuntu2) ...
Setting up gnupg (1.4.16-1ubuntu2) ...
Setting up apt (1.0.1ubuntu2) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...

==> btmp <==

==> dmesg <==
(Nothing has been logged yet.)

==> dpkg.log <==
2015-06-26 20:32:24 configure mongodb-org:amd64 3.0.4 <none>
2015-06-26 20:32:24 status unpacked mongodb-org:amd64 3.0.4
2015-06-26 20:32:24 status half-configured mongodb-org:amd64 3.0.4
2015-06-26 20:32:24 status installed mongodb-org:amd64 3.0.4
2015-06-26 20:32:24 trigproc libc-bin:amd64 2.19-0ubuntu6.6 <none>
2015-06-26 20:32:24 status half-configured libc-bin:amd64 2.19-0ubuntu6.6
2015-06-26 20:32:24 status installed libc-bin:amd64 2.19-0ubuntu6.6
2015-06-26 20:32:24 trigproc ca-certificates:all 20141019ubuntu0.14.04.1 <none>
2015-06-26 20:32:24 status half-configured ca-certificates:all 20141019ubuntu0.14.04.1
2015-06-26 20:32:29 status installed ca-certificates:all 20141019ubuntu0.14.04.1

==> faillog <==

==> fsck <==
tail: error reading 'fsck': Is a directory

==> lastlog <==

==> mongodb <==
tail: error reading 'mongodb': Is a directory

==> upstart <==
tail: error reading 'upstart': Is a directory

==> wtmp <==

And for the subdirs in /var/log:

tail /

==> apt/history.log <==
Start-Date: 2015-06-12  11:35:14
Commandline: apt-get --yes install adduser base-passwd busybox-initramfs bzip2 console-setup cron dash debconf debconf-i18n debianutils dh-python diffutils dmsetup eject findutils gcc-4.8-base grep gzip hostname init-system-helpers insserv iproute2 kbd keyboard-configuration klibc-utils kmod less libacl1 libarchive-extract-perl libattr1 libaudit-common libaudit1 libbsd0 libbz2-1.0 libcap2 libcap2-bin libdb5.3 libdebconfclient0 libdevmapper1.02.1 libestr0 libexpat1 libffi6 libfribidi0 libgdbm3 libgpg-error0 libklibc libkmod2 liblocale-gettext-perl liblockfile-bin liblockfile1 liblog-message-simple-perl liblzma5 libmodule-pluggable-perl libmpdec2 libncurses5 libncursesw5 libnewt0.52 libnih-dbus1 libnih1 libp11-kit0 libpam-cap libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre3 libpng12-0 libpod-latex-perl libpopt0 libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib libreadline6 libsemanage-common libsemanage1 libslang2 libsqlite3-0 libstdc++6 libterm-ui-perl libtext-charwidth-perl libtext-iconv-perl libtext-soundex-perl libtext-wrapi18n-perl libtinfo5 libusb-0.1-4 libustr-1.0-1 lockfile-progs login logrotate lsb-base lsb-release makedev mawk module-init-tools mountall ncurses-base ncurses-bin netbase netcat-openbsd passwd perl perl-base perl-modules python3 python3-minimal python3.4 python3.4-minimal readline-common sed sensible-utils tar ubuntu-keyring ubuntu-minimal ucf ureadahead vim-common vim-tiny whiptail xkb-data zlib1g bash coreutils cpio dpkg e2fslibs e2fsprogs file gnupg gpgv libc-bin libc6 libcomerr2 libdbus-1-3 libgcrypt11 libgnutls-openssl27 libgnutls26 libjson-c2 libjson0 libmagic1 libss2 libssl1.0.0 libtasn1-6 mime-support multiarch-support ntpdate sudo tzdata apt apt-utils base-files bsdutils gcc-4.9-base ifupdown initramfs-tools initramfs-tools-bin initscripts iputils-ping isc-dhcp-client isc-dhcp-common libapt-inst1.5 libapt-pkg4.12 libblkid1 libcgmanager0 libdrm2 libgcc1 libmount1 libplymouth2 libprocps3 libselinux1 libsepol1 libudev1 libuuid1 locales mount net-tools plymouth procps resolvconf rsyslog sysv-rc sysvinit-utils udev upstart util-linux
Install: python3:amd64 (3.4.0-0ubuntu2), mime-support:amd64 (3.54ubuntu1.1), libmpdec2:amd64 (2.4.0-6), whiptail:amd64 (0.52.15-2ubuntu5), libestr0:amd64 (0.1.9-0ubuntu2), libgnutls-openssl27:amd64 (2.12.23-12ubuntu2.2), resolvconf:amd64 (1.69ubuntu1.1), perl:amd64 (5.18.2-2ubuntu1), libssl1.0.0:amd64 (1.0.1f-1ubuntu2.15), isc-dhcp-common:amd64 (4.2.4-7ubuntu12.2), libnewt0.52:amd64 (0.52.15-2ubuntu5), python3.4:amd64 (3.4.0-2ubuntu1), libpopt0:amd64 (1.16-8ubuntu1), liblog-message-simple-perl:amd64 (0.10-1), dmsetup:amd64 (1.02.77-6ubuntu2), xkb-data:amd64 (2.10.1-1ubuntu1), libfribidi0:amd64 (0.19.6-1), vim-common:amd64 (7.4.052-1ubuntu3), console-setup:amd64 (1.70ubuntu8), apt-utils:amd64 (1.0.1ubuntu2.8), libpam-cap:amd64 (2.24-0ubuntu2), sudo:amd64 (1.8.9p5-1ubuntu1.1), netbase:amd64 (5.2), ubuntu-minimal:amd64 (1.325), lockfile-progs:amd64 (0.1.17), python3.4-minimal:amd64 (3.4.0-2ubuntu1), file:amd64 (5.14-2ubuntu3.3), dh-python:amd64 (1.20140128-1ubuntu8), liblockfile1:amd64 (1.09-6ubuntu1), libpython3.4-stdlib:amd64 (3.4.0-2ubuntu1), libmagic1:amd64 (5.14-2ubuntu3.3), libapt-inst1.5:amd64 (1.0.1ubuntu2.8), libtext-charwidth-perl:amd64 (0.04-7build3), libterm-ui-perl:amd64 (0.42-1), libsqlite3-0:amd64 (3.8.2-1ubuntu2), libpython3.4-minimal:amd64 (3.4.0-2ubuntu1), debconf-i18n:amd64 (1.5.51ubuntu2), eject:amd64 (2.1.5+deb1+cvs20081104-13.1), libpython3-stdlib:amd64 (3.4.0-0ubuntu2), liblockfile-bin:amd64 (1.09-6ubuntu1), bzip2:amd64 (1.0.6-5), lsb-release:amd64 (4.1+Debian11ubuntu6), libtext-wrapi18n-perl:amd64 (0.06-7), less:amd64 (458-2), python3-minimal:amd64 (3.4.0-0ubuntu2), perl-modules:amd64 (5.18.2-2ubuntu1), vim-tiny:amd64 (7.4.052-1ubuntu3), logrotate:amd64 (3.8.7-1ubuntu1), libtext-iconv-perl:amd64 (1.7-5build2), libgdbm3:amd64 (1.8.3-12build1), ureadahead:amd64 (0.100.0-16), libp11-kit0:amd64 (0.20.2-2ubuntu2), isc-dhcp-client:amd64 (4.2.4-7ubuntu12.2), libpod-latex-perl:amd64 (0.61-1), iputils-ping:amd64 (20121221-4ubuntu1.1), libgnutls26:amd64 (2.12.23-12ubuntu2.2), liblocale-gettext-perl:amd64 (1.05-7build3), libdevmapper1.02.1:amd64 (1.02.77-6ubuntu2), libtext-soundex-perl:amd64 (3.4-1build1), libmodule-pluggable-perl:amd64 (5.1-1), keyboard-configuration:amd64 (1.70ubuntu8), kbd:amd64 (1.15.5-1ubuntu1), libbsd0:amd64 (0.6.0-2ubuntu1), libgpg-error0:amd64 (1.12-0.2ubuntu1), ucf:amd64 (3.0027+nmu1), init-system-helpers:amd64 (1.14), netcat-openbsd:amd64 (1.105-7ubuntu1), libexpat1:amd64 (2.1.0-4ubuntu1), libtasn1-6:amd64 (3.4-3ubuntu0.3), libarchive-extract-perl:amd64 (0.70-1), net-tools:amd64 (1.60-25ubuntu2.1), libcap2-bin:amd64 (2.24-0ubuntu2), libgcrypt11:amd64 (1.5.3-2ubuntu4.2), rsyslog:amd64 (7.4.4-1ubuntu2.6), ntpdate:amd64 (4.2.6.p5+dfsg-3ubuntu2.14.04.3), cron:amd64 (3.0pl1-124ubuntu2), libffi6:amd64 (3.1~rc1+r3.0.13-12)
End-Date: 2015-06-12  11:35:26
Start-Date: 2015-06-26  20:31:51
Commandline: apt-get install -y mongodb-org git python build-essential curl
Install: fakeroot:amd64 (1.20-3ubuntu2, automatic), libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04, automatic), libedit2:amd64 (3.1-20130712-2, automatic), libisl10:amd64 (0.12.2-1, automatic), libtimedate-perl:amd64 (2.3000-1, automatic), libasan0:amd64 (4.8.4-2ubuntu1~14.04, automatic), libsasl2-modules-db:amd64 (2.1.25.dfsg1-17build1, automatic), libquadmath0:amd64 (4.8.4-2ubuntu1~14.04, automatic), libmpc3:amd64 (1.0.1-1ubuntu1, automatic), libpython2.7-stdlib:amd64 (2.7.6-8ubuntu0.2, automatic), make:amd64 (3.81-8.2ubuntu3, automatic), libxau6:amd64 (1.0.8-1, automatic), python-minimal:amd64 (2.7.5-5ubuntu3, automatic), mongodb-org:amd64 (3.0.4), libfile-fcntllock-perl:amd64 (0.14-2build1, automatic), libxext6:amd64 (1.3.2-1ubuntu0.0.14.04.1, automatic), libgssapi-krb5-2:amd64 (1.12+dfsg-2ubuntu5.1, automatic), cpp-4.8:amd64 (4.8.4-2ubuntu1~14.04, automatic), libkrb5-26-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1.1, automatic), libgomp1:amd64 (4.8.4-2ubuntu1~14.04, automatic), libroken18-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1.1, automatic), libkrb5-3:amd64 (1.12+dfsg-2ubuntu5.1, automatic), libalgorithm-diff-xs-perl:amd64 (0.04-2build4, automatic), libtsan0:amd64 (4.8.4-2ubuntu1~14.04, automatic), libwind0-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1.1, automatic), dpkg-dev:amd64 (1.17.5ubuntu5.4, automatic), libx11-data:amd64 (1.6.2-1ubuntu2, automatic), libhcrypto4-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1.1, automatic), libheimntlm0-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1.1, automatic), libalgorithm-merge-perl:amd64 (0.08-2, automatic), libxcb1:amd64 (1.10-2ubuntu1, automatic), libc-dev-bin:amd64 (2.19-0ubuntu6.6, automatic), python2.7:amd64 (2.7.6-8ubuntu0.2, automatic), xz-utils:amd64 (5.1.1alpha+20120614-2ubuntu2, automatic), libidn11:amd64 (1.28-1ubuntu2, automatic), curl:amd64 (7.35.0-1ubuntu2.5), patch:amd64 (2.7.1-4ubuntu2.3, automatic), librtmp0:amd64 (2.4+20121230.gitdf6c518-1, automatic), mongodb-org-mongos:amd64 (3.0.4, automatic), g++:amd64 (4.8.2-1ubuntu6, automatic), libatomic1:amd64 (4.8.4-2ubuntu1~14.04, automatic), libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu8.1, automatic), libalgorithm-diff-perl:amd64 (1.19.02-3, automatic), libmpfr4:amd64 (3.1.2-1, automatic), krb5-locales:amd64 (1.12+dfsg-2ubuntu5.1, automatic), g++-4.8:amd64 (4.8.4-2ubuntu1~14.04, automatic), libasn1-8-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1.1, automatic), libxdmcp6:amd64 (1.1.1-1, automatic), binutils:amd64 (2.24-5ubuntu13, automatic), mongodb-org-server:amd64 (3.0.4, automatic), gcc:amd64 (4.8.2-1ubuntu6, automatic), mongodb-org-shell:amd64 (3.0.4, automatic), libgmp10:amd64 (5.1.3+dfsg-1ubuntu1, automatic), openssh-client:amd64 (6.6p1-2ubuntu2, automatic), liberror-perl:amd64 (0.17-1.1, automatic), libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04, automatic), libdpkg-perl:amd64 (1.17.5ubuntu5.4, automatic), cpp:amd64 (4.8.2-1ubuntu6, automatic), libfakeroot:amd64 (1.20-3ubuntu2, automatic), gcc-4.8:amd64 (4.8.4-2ubuntu1~14.04, automatic), ca-certificates:amd64 (20141019ubuntu0.14.04.1, automatic), libheimbase1-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1.1, automatic), git-man:amd64 (1.9.1-1ubuntu0.1, automatic), libcloog-isl4:amd64 (0.18.2-1, automatic), python:amd64 (2.7.5-5ubuntu3), git:amd64 (1.9.1-1ubuntu0.1), manpages-dev:amd64 (3.54-1ubuntu1, automatic), build-essential:amd64 (11.6ubuntu6), libpython-stdlib:amd64 (2.7.5-5ubuntu3, automatic), libcurl3:amd64 (7.35.0-1ubuntu2.5, automatic), manpages:amd64 (3.54-1ubuntu1, automatic), python2.7-minimal:amd64 (2.7.6-8ubuntu0.2, automatic), libxmuu1:amd64 (1.1.1-1, automatic), libsasl2-modules:amd64 (2.1.25.dfsg1-17build1, automatic), libsasl2-2:amd64 (2.1.25.dfsg1-17build1, automatic), openssl:amd64 (1.0.1f-1ubuntu2.15, automatic), libgssapi3-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1.1, automatic), rsync:amd64 (3.1.0-2ubuntu0.1, automatic), linux-libc-dev:amd64 (3.13.0-55.94, automatic), libhx509-5-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1.1, automatic), xauth:amd64 (1.0.7-1ubuntu1, automatic), libkeyutils1:amd64 (1.5.6-1, automatic), libx11-6:amd64 (1.6.2-1ubuntu2, automatic), libitm1:amd64 (4.8.4-2ubuntu1~14.04, automatic), libpython2.7-minimal:amd64 (2.7.6-8ubuntu0.2, automatic), libkrb5support0:amd64 (1.12+dfsg-2ubuntu5.1, automatic), libk5crypto3:amd64 (1.12+dfsg-2ubuntu5.1, automatic), mongodb-org-tools:amd64 (3.0.4, automatic), libc6-dev:amd64 (2.19-0ubuntu6.6, automatic), libcurl3-gnutls:amd64 (7.35.0-1ubuntu2.5, automatic)
Upgrade: gcc-4.8-base:amd64 (4.8.2-19ubuntu1, 4.8.4-2ubuntu1~14.04), libstdc++6:amd64 (4.8.2-19ubuntu1, 4.8.4-2ubuntu1~14.04)
End-Date: 2015-06-26  20:32:29

==> apt/term.log <==

Log started: 2015-06-26  20:31:51
Log ended: 2015-06-26  20:32:29

==> fsck/checkfs <==
(Nothing has been logged yet.)

==> fsck/checkroot <==
(Nothing has been logged yet.)
funkytaco commented 9 years ago

Looking at https://imagelayers.io/?images=maccam912%2Fmeanjs:latest

It looks like your container requires manual setup?

I'm confused by

RUN echo "\n##############################\n1. Create a new user with adduser, 'su' into that user.\n2. 'yo meanjs' to scaffold your app in the current directory.\n3. Start mongo in the background (e.g. 'mongod &'\n##############################\n"

especially since this isn't echo'd at all.

maccam912 commented 9 years ago

I updated it a little to fix some errors on docker hub. Try it in kitematic again? I'll keep looking as I have time, but if you see the issue yourself feel free to send a pull request.

The container is ready for someone to use yeoman to build a meanjs scaffold, but waits for you to do it yourself. If you have a meanjs project already and want to run that in the container, it should work without the need to scaffold a project. Are you trying to develop a meanjs app with this, or run an existing one?