WTDWTF Development
-
@PJH said in WTDWTF Development:
./package.json
exists, but./NodeBB/package.json
doesn't.@PJH said in WTDWTF Development:
./emoji/emojione/
appears to be empty.@PJH said in WTDWTF Development:
./emoji/fontawesome
appears to be empty.Try
git submodule update --init --recursive
@PJH said in WTDWTF Development:
What's the purpose of the following line:
COPY NodeBB/package.json /usr/src/app/
It copies the list of NodeBB dependencies and downloads them (the next RUN command) before installing the rest of NodeBB so that Docker can cache the dependencies.
@PJH said in WTDWTF Development:
Apart from the fact that the plugins in
other.txt
have version numbers and the directories in./plugins
don't, is there any particular reason for the two methods of specifying plugins?other.txt
contains the NodeBB-Community plugins, which cannot be installed directly from Git. Everything else is locked to a specific commit SHA1.
-
@ben_lubar said in WTDWTF Development:
git submodule update --init --recursive
That's what I was missing. Ta.
-
I'm up to date in the master branch. When I run
./update_local.bash
I end up with this:npm http fetch 200 https://registry.npmjs.org/nodebb-plugin-shortcuts/-/nodebb-plugin-shortcuts-1.1.1.tgz npm ERR! Linux 4.2.0-36-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "./plugins/nodebb-plugin-deny-moderator-access/" "./plugins/nodebb-plun-emailer-amazon/" "./plugins/nodebb-plugin-google-analytics/" "./plugins/nodebb-plugin-gravatar/" "./plugins/nodebb-plugin-htmlcleaner/"./plugins/nodebb-plugin-iframely/" "./plugins/nodebb-plugin-image-size/" "./plugins/nodebb-plugin-imagemagick/" "./plugins/nodebb-plugin-port-tdwtf/" "./plugins/nodebb-plugin-mentions-emoji/" "./plugins/nodebb-plugin-ns-login/" "./plugins/nodebb-plugin-sso-facebook/" "./pluns/nodebb-plugin-sso-github/" "./plugins/nodebb-plugin-sso-google/" "./plugins/nodebb-plugin-sso-twitter/" "./plugins/nodebb-plugin-tdwtfuttons/" "./plugins/nodebb-plugin-tdwtf-customizations/" "./plugins/nodebb-plugin-unresponsive/" "./plugins/nodebb-plugin-upvote-notificaons/" "./plugins/nodebb-plugin-youtube-lite/" "nodebb-plugin-emoji-static@1.0.4" "nodebb-plugin-shortcuts@1.1.1" npm ERR! node v4.4.5 npm ERR! npm v2.15.5 npm ERR! code EISDIR npm ERR! errno -21 npm ERR! syscall read npm ERR! eisdir EISDIR: illegal operation on a directory, read npm ERR! eisdir This is most likely not a problem with npm itself npm ERR! eisdir and is related to npm not being able to find a package.json in npm ERR! eisdir a package you are trying to install. npm ERR! Please include the following file with any support request: npm ERR! /usr/src/app/npm-debug.log The command '/bin/sh -c npm install ./plugins/*/ `cat ./plugins/other.txt`' returned a non-zero code: 235
(I don't think the line about fetching the shortcuts plugin is part of the problem, but it's the last non-ERR line so I included it for context.)
Shizzz.
-
@boomzilla No repro. I recommend seppuku.
-
@NedFodder Yeah.
Trying the "normal" update and one thing is stuck "downloading"...
0e55257e17a9: Downloading [=====> ] 4.267 MB/41.91 MB
Whatever the heck that is.
-
@boomzilla said in WTDWTF Development:
@NedFodder Yeah.
Trying the "normal" update and one thing is stuck "downloading"...
0e55257e17a9: Downloading [=====> ] 4.267 MB/41.91 MB
Whatever the heck that is.
WOMM
pherring@pjh-thinkpad:~/src/tdwtf$ ./update.bash Using default tag: latest latest: Pulling from boomzillawtf/tdwtf 51f5c6a04d83: Already exists a3ed95caeb02: Already exists 7004cfc6e122: Already exists 5f37c8a7cfbd: Already exists 8ad7684cace4: Already exists 2cc6b7c79e1c: Already exists a57359d4ac5f: Already exists 86e2a92f869e: Pull complete c9c918aa7381: Pull complete 0e55257e17a9: Pull complete bd30fa6d1977: Pull complete cb36547b0c9b: Pull complete 915386e3c1d1: Pull complete 3a057f99c001: Pull complete 42568c3d5a61: Pull complete 891acf3870cb: Pull complete 2b2e1e4ca92a: Pull complete 681516e0a90c: Pull complete 4f80c017f9e4: Pull complete fe5153db99c1: Pull complete 43e5a0bcc2f4: Pull complete bc2b63062a2c: Pull complete Digest: sha256:8e85f237e3a85d40f45b8e492b4160de5a511cc8f9c18a21e20434aac57f47d7 Status: Downloaded newer image for boomzillawtf/tdwtf:latest a536655de7343c4e7f624b93208469464cd0fffb428c0010961c2421dfa5476b Waiting for NodeBB Waiting for NodeBB Waiting for NodeBB
Waiting an awful long time for NodeBB however...
-
@PJH said in WTDWTF Development:
Waiting an awful long time for NodeBB however...
I had that problem yesterday. I checked
docker ps
, and the container was stuck in a restart loop. Since I know absolutely nothing about docker, I deleted and rebuilt the container. shrugs
-
@NedFodder said in WTDWTF Development:
I had that problem yesterday. I checked docker ps, and the container was stuck in a restart loop.
Hmm..
pjh@pjh-thinkpad:~/src/tdwtf$ docker ps -a | grep wtdwtf a536655de734 boomzillawtf/tdwtf "/bin/sh -c 'cat .mak" 13 minutes ago Restarting (0) 39 seconds ago 4567/tcp wtdwtf-nodebb ce3c99a4b16a cacf3855338d "/bin/sh -c 'cat .mak" 14 minutes ago Up 14 minutes 4567/tcp wtdwtf-nodebb-temp a2852e06641d mongo "/entrypoint.sh --sto" 6 days ago Up 3 days 27017/tcp wtdwtf-mongo 1f3448da7f45 redis "docker-entrypoint.sh" 6 days ago Up 3 days 6379/tcp wtdwtf-redis pjh@pjh-thinkpad:~/src/tdwtf$ docker exec -it wtdwtf-nodebb /bin/bash Error response from daemon: Container a536655de7343c4e7f624b93208469464cd0fffb428c0010961c2421dfa5476b is restarting, wait until the container is running pjh@pjh-thinkpad:~/src/tdwtf$ docker exec -it wtdwtf-nodebb-temp /bin/bash root@ce3c99a4b16a:/usr/src/app# ps PID TTY TIME CMD 85 ? 00:00:00 bash 90 ? 00:00:00 ps root@ce3c99a4b16a:/usr/src/app# exit pjh@pjh-thinkpad:~/src/tdwtf$
@NedFodder said in WTDWTF Development:
Since I know absolutely nothing about docker, I deleted and rebuilt the container. shrugs
Might have to try that...
-
-
@boomzilla Is that coming from MilwaukeePC?
-
-
@Yamikuronue Ahah! Now we're Waiting for NodeBB. A lot.
-
@ben_lubar said in NodeBB Updates:
fix crash in YouTube Lite plugin https://github.com/boomzillawtf/nodebb-plugin-youtube-lite/commit/9c1ed9778c61ba4ce1042800b36c3b7f604af767
Hey @ben_lubar, there's an additional fix. I don't know how to update a submodule. I looked at your commits where you did stuff like that but I can't see how to make it happen on my end.
-
@boomzilla said in WTDWTF Development:
I don't know how to update a submodule.
All you have to do is pull while you're inside the submodule folder and then commit it when you're outside the submodule folder the same way you would commit a changed file. I'll do it for you this time :P
-
-
@ben_lubar Sheeit. Forgot to push.
-
-
@FrostCat said in WTDWTF Development:
@boomzilla said in WTDWTF Development:
Slowly we download
Niagara falls!
I hope the forum isn't visiting Goslow.
-
-
@FrostCat said in WTDWTF Development:
@ben_lubar said in WTDWTF Development:
Goslow
Possible above.
-
@ben_lubar Just making sure, Ben.
Pro tip: regular people don't memorize every line of dialog from all the funny skits.
-
@izzion said in Mafia IX - The Fifth Circle:
OOC: dammit, I'm totally going to offer a bounty if someone can implement "filter posts in a thread by user" - it's so much harder to catch up when you've half-read the thread at work and are now composing responses
I hereby offer a box of Thin Mints (or a similar mutually acceptable option) as bounty for implementation of a filter posts by user option. My thinking is either:
- it would work similarly to the DiscoUserCard feature - either some sort of pop up on the user avatar that gives you options to filter or interact with their profile
- or add a action icon underneath the user avatar.