Skip to content

Instantly share code, notes, and snippets.

View mattwr18's full-sized avatar

Matthew Rider mattwr18

View GitHub Profile
@mattwr18
mattwr18 / gist:9a19fafb675385e8d128c8cff17cb5d1
Created April 30, 2019 00:30
running containers on metplus box 2019-04-29
sudo docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6ba7c36b42f0 dokku/metplus-cruncher-staging:latest "/bin/sh -c /crunc..." 3 weeks ago Up 3 weeks metplus-cruncher-staging.web.1
01c15e782b25 dokku/metplus-cruncher-production:latest "/bin/sh -c /crunc..." 6 weeks ago Up 6 weeks metplus-cruncher-production.web.1
0d62df86fe87 dokku/metplus-cruncher-production:latest "/bin/sh -c /crunc..." 8 weeks ago Up 7 weeks
@mattwr18
mattwr18 / output-from-production-deploy.txt
Created February 28, 2019 22:16
output-from-production-deploy.txt
...mod_title in table moderation already modified by patch /var/www/html/extensions/Moderation/hooks/../sql/patch-fix-titledbkey.sql.
2019-02-28T22:12:58.494521498Z app[web.1]: ...have mod_type field in moderation table.
2019-02-28T22:12:58.530334891Z app[web.1]:
2019-02-28T22:12:58.530357091Z app[web.1]: Selected storage engine: "SMWSQLStore3" (or an extension thereof)
2019-02-28T22:12:58.530365391Z app[web.1]:
2019-02-28T22:12:58.530370491Z app[web.1]: Setting up standard database configuration for SMW ...
2019-02-28T22:12:58.530375091Z app[web.1]:
2019-02-28T22:12:58.537902832Z app[web.1]: Checking table smw_object_ids ...
2019-02-28T22:12:58.543496062Z app[web.1]: Table already exists, checking structure ...
2019-02-28T22:12:58.543589162Z app[web.1]: ... field smw_id is fine.
```
staging
Agent pid 20895
Identity added: ./deploy_key (./deploy_key)
# agileventures-playground.westeurope.cloudapp.azure.com SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.6
# agileventures-playground.westeurope.cloudapp.azure.com SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.6
Warning: Permanently added the ECDSA host key for IP address '104.40.243.49' to the list of known hosts.
remote: remote: herokuish...
remote: Unable to find image 'gliderlabs/herokuish:latest' locally
remote: latest: Pulling from gliderlabs/herokuish
JSON::ParserError (765: unexpected token at '<!DOCTYPE html>)
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Action Controller: Exception caught</title>
<style>
body {
background-color: #FAFAFA;
color: #333;
margin: 0px;
@mattwr18
mattwr18 / output-from-bundle-error-rack-cors
Last active December 3, 2018 12:49
output-from-bundle-error-rack-cors
root@24b296fd52ed:/WebsiteOne# cat /usr/local/bundle/extensions/x86_64-linux/2.5.0/nokogiri-1.8.5/gem_make.out
current directory: /usr/local/bundle/gems/nokogiri-1.8.5/ext/nokogiri
/usr/local/bin/ruby -r ./siteconf20181129-6-tdjarj.rb extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.3.0
checking for gzdopen() in -lz... yes
checking for iconv... yes
************************************************************************
IMPORTANT NOTICE:
```
Failing Scenarios:
cucumber features/accept_job_application.feature:46 # Scenario: company contact accept a job application
cucumber features/accept_job_application.feature:62 # Scenario: company admin accept a job application
cucumber features/accept_job_application.feature:79 # Scenario: job developer accept notification when job application accepted
cucumber features/agency_admin.feature:211 # Scenario: assign job seeker to agency person
cucumber features/agency_admin.feature:250 # Scenario: manage job properties
cucumber features/agency_person.feature:45 # Scenario: Case Manager actions
cucumber features/agency_person.feature:115 # Scenario: Job Developer actions
cucumber features/agency_person.feature:149 # Scenario: Agency Admin actions
@mattwr18
mattwr18 / bundle-errors-after-upgrade.txt
Created October 31, 2018 12:50
bundle-errors-after-upgrade
```
Bundler could not find compatible versions for gem "actionmailer":
In Gemfile:
devise_invitable (~> 1.5.2) was resolved to 1.5.5, which depends on
actionmailer (< 5, >= 3.2.6)
mailgun_rails was resolved to 0.9.0, which depends on
actionmailer (>= 3.2.13)
rails (= 5.0) was resolved to 5.0.0, which depends on
@mattwr18
mattwr18 / semantic-mediawiki-composer-install-output.txt
Last active October 28, 2018 19:44
output-from-composer-install-dependencies
docker run -it 25418949d3b1 /bin/bash 13:16:11
"DATABASE_URL is not set.. have you linked the database?" && exit -1
Trying custom entrypoint script...
Executing main entrypoint script...
MEDIAWIKI_DB_TYPE:
MEDIAWIKI_DB_HOST:
MEDIAWIKI_DB_PORT:
MEDIAWIKI_DB_USER:
MEDIAWIKI_DB_PORT:
MEDIAWIKI_DB_NAME:
@mattwr18
mattwr18 / nasty-frontend-error
Created October 24, 2018 19:37
Nasty frontend error
WARNING: Async Request leaks detected. Add a breakpoint here and set `store.generateStackTracesForTrackedRequests = true;`to inspect traces for leak origins:
- DS: Handle Adapter#queryRecord of summarized-statistic
[object Object]
at logWarning (/tmp/broccoli-26145wbFk7VZepiLZ/out-519-broccoli_persistent_filter_replace_filter/assets/@ember/debug/lib/warn.js:47:1)
at HANDLERS.(anonymous function) (/tmp/broccoli-26145wbFk7VZepiLZ/out-519-broccoli_persistent_filter_replace_filter/assets/@ember/debug/lib/handlers.js:11:1)
at invoke (/tmp/broccoli-26145wbFk7VZepiLZ/out-519-broccoli_persistent_filter_replace_filter/assets/@ember/debug/lib/handlers.js:20:1)
at Object.warn (/tmp/broccoli-26145wbFk7VZepiLZ/out-519-broccoli_persistent_filter_replace_filter/assets/@ember/debug/lib/warn.js:93:1)
at Class.willDestroy (/tmp/broccoli-26145wbFk7VZepiLZ/out-519-broccoli_persistent_filter_replace_filter/assets/addon-tree-output/ember-data/-private.js:12682:1)
at Class.superWrapper [as willDestroy] (/t
node bin/server.js
{"name":"parsoid","hostname":"907b756da5de","pid":88,"level":30,"levelPath":"info/service-runner","msg":"master(88) initializing 4 workers","time":"2018-10-24T16:41:52.663Z","v":0}
{"name":"parsoid","hostname":"907b756da5de","pid":98,"level":60,"err":{"message":"Cannot find module '/node_modules/parsoid/src/lib/index.js'","name":"Error","stack":"Error: Cannot find module '/node_modules/parsoid/src/lib/index.js'\n at Function.Module._resolveFilename (module.js:548:15)\n at Function.Module._load (module.js:475:25)\n at Module.require (module.js:597:17)\n at require (internal/module.js:11:18)\n at Worker._requireModule (/node_modules/parsoid/node_modules/service-runner/lib/base_service.js:349:30)\n at Worker._requireModule (/node_modules/parsoid/node_modules/service-runner/lib/base_service.js:369:29)\n at Worker._requireModule (/node_modules/parsoid/node_modules/service-runner/lib/base_service.js:369:29)\n at P.map (/node_modules/parsoid/node_modules/service-runner/lib/