Skip to content

Instantly share code, notes, and snippets.

View bgirardot's full-sized avatar

Blake Girardot bgirardot

View GitHub Profile
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 3375; 0 1277792 TABLE DATA alembic_version www-hot-data
pg_restore: [archiver (db)] COPY failed for table "alembic_version": ERROR: duplicate key value violates unique constraint "alembic_version_pkc"
DETAIL: Key (version_num)=(a7c617755721) already exists.
CONTEXT: COPY alembic_version, line 1
pg_restore: [archiver (db)] Error from TOC entry 3203; 0 1276773 TABLE DATA spatial_ref_sys postgres
pg_restore: [archiver (db)] could not execute query: ERROR: permission denied for relation spatial_ref_sys
Command was: COPY spatial_ref_sys FROM stdin;
pg_restore: [archiver (db)] Error from TOC entry 3379; 0 1277812 TABLE DATA tags www-hot-data
@bgirardot
bgirardot / gist:3cad9a02ff813a6d66c47e81023957fb
Created May 25, 2017 14:56
./venv/bin/python3.6 manage.py db upgrade errors
(venv) bg@bg-VirtualBox:~/tasking-manager$ ./venv/bin/python3.6 manage.py db upgrade
/home/bg/tasking-manager/venv/lib/python3.6/site-packages/flask_sqlalchemy/__init__.py:839: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> 8aa8f8d6a0c3, empty message
INFO [alembic.runtime.migration] Running upgrade 8aa8f8d6a0c3 -> a7c617755721, empty message
INFO [alembic.runtime.migration] Running upgrade a7c617755721 -> 48c3aed123cf, empty message
INFO [alembic.runtime.migration] Running upgrade 48c3aed123cf -> 0aaac86a48dc, empty message
INFO [alembic.runtime.migration] Running upgrade 0aaac86a48dc -> c4670f3bb828, empty message
<darkblue-b> BlakeGirardot: where is the 'portable openstreetmap package' master?
<BlakeGirardot> Kind of hoping it is something obvious to someone familiar with the stack.
<BlakeGirardot> Let me find out
<osmbot> [osm-id|master|Bryan Housel] Match '+' as-is (no shift, because shift '+' is '?' on some non-US keyboards) https://github.com/openstreetmap/iD/commit/dffc354
<TomH> I would suggest your bundle is wrong
<TomH> Both Gemfile and Gemfile.lock should list canonical_rails - if they don't they you have a screwy setup
<TomH> sorry canonical-rails
<pnorman> BlakeGirardot: have you had success deploying openstreetmap-website first?
<BlakeGirardot> Ok, sorry, that first question trigged us for things to try... so... we are trying a few of those things and I am passing all these comments to David and Seth (devops and dev)
<BlakeGirardot> The trouble is we are really learning the osm stack as we go along here. The portable openstreetmap devs know it backward and forward, but us as consumers are still finding ou
This is a Mailman mailing list bounce action notice:
List: HOT
Member: [email protected]
Action: Subscription disabled.
Reason: Excessive or fatal bounces.
The triggering bounce notice is attached below.
(venv) ubuntu@ip-172-31-44-114:~/tasking-manager$ cd client/ && npm install && gulp build
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] No repository field.
fs.js:961
return binding.readdir(pathModule._makeLong(path), options.encoding);
^
Error: ENOENT: no such file or directory, scandir '/home/ubuntu/tasking-manager/client/node_modules/node-sass/vendor'
at Error (native)
D:\Downloads\BundleLogs-1522334170869\var\log\eb-docker\containers\eb-current-app\4f930fa56111-stdouterr.log (2 hits)
Line 26: [2018-03-29 12:44:45,566] CRITICAL in mapping_apis: Task Lock API - unhandled error: Multiple rows were found for one()
Line 87: [2018-03-29 14:05:39,783] CRITICAL in mapping_apis: Task Lock API - unhandled error: Multiple rows were found for one()
D:\Downloads\BundleLogs-1522334170869\var\log\eb-docker\containers\eb-current-app\d4445ce306d0-stdouterr.log (1 hit)
Line 18: [2018-03-29 13:50:32,760] CRITICAL in mapping_apis: Task Lock API - unhandled error: No row was found for one()
D:\Downloads\BundleLogs-1522334170869\var\log\eb-docker\containers\eb-current-app\d4445ce306d0-stdouterr_1.log (1 hit)
Line 18: [2018-03-29 13:50:32,760] CRITICAL in mapping_apis: Task Lock API - unhandled error: No row was found for one()