Skip to content

Instantly share code, notes, and snippets.

View psturc's full-sized avatar
🎸

Pavel Sturc psturc

🎸
  • Red Hat
  • Brno, Czech Republic
  • 10:03 (UTC +02:00)
View GitHub Profile
`docker run --name sync-ui -p 8000:8000 -d aerogear/sync-ui:latest`
> [email protected] start /opt/app-root/src
> node server/index.js
Thu, 12 Jul 2018 08:24:18 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
warn: notifier unknown or disabled: postgres
info: GraphQl server mounted at /graphql
Unhandled rejection SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:5432
at connection.connect.err (/opt/app-root/src/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:116:24)
@psturc
psturc / pipeline-output.log
Created July 11, 2018 15:22
test build android sdk
Started by user Jenkins Admin
Replayed #36
[Pipeline] node
Still waiting to schedule task
All nodes of label ‘circleci’ are offline
Running on jenkins-slave-circleci-cxlvb in /tmp/workspace/test-pipeline
[Pipeline] {
[Pipeline] sh
[test-pipeline] Running shell script
+ git clone https://github.com/psturc/aerogear-android-sdk
@psturc
psturc / data-sync-ui-pod-error.log
Created July 11, 2018 07:26
Data sync UI pod crashing
> [email protected] start /opt/app-root/src
> node ./dist/index.js
Wed, 11 Jul 2018 07:18:46 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
warn: notifier unknown or disabled: postgres
info: GraphQl server mounted at /graphql
/opt/app-root/src/dist/server.js:62
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(req, res) {
^
@psturc
psturc / cordova-build-error.log
Created June 18, 2018 13:14
Cannot build Cordova Showcase App - Android / iOS
λ ~/work/aerogear/aerogear-js-sdk/cordova-example/ master* npm run ionic:android
> [email protected] ionic:android /Users/psturc/work/aerogear/aerogear-js-sdk/cordova-example
> ionic cordova run android
> cordova platform add android --save
Using cordova-fetch for [email protected]
Adding android project...
Creating Cordova project for the Android platform:
@psturc
psturc / cordova-ios-ups.json
Last active June 19, 2018 13:49
cordova config ups
{
"version": 1,
"clusterName": "https://192.168.37.1:8443",
"namespace": "myproject",
"clientId": "myapp-cordova",
"services": [
{
"id": "ups-secret-myapp-cordova-ledlc",
"name": "ups",
"type": "push",
@psturc
psturc / ups-provision.log
Created May 29, 2018 10:09
UPS provision fails
TASK [provision-unifiedpush-apb : Wait for all UPS containers to become ready] ***
changed: [localhost]
TASK [provision-unifiedpush-apb : Create myproject PushApplication on service host 172.30.123.172] ***
FAILED - RETRYING: Create myproject PushApplication on service host 172.30.123.172 (5 retries left).
FAILED - RETRYING: Create myproject PushApplication on service host 172.30.123.172 (4 retries left).
FAILED - RETRYING: Create myproject PushApplication on service host 172.30.123.172 (3 retries left).
FAILED - RETRYING: Create myproject PushApplication on service host 172.30.123.172 (2 retries left).
FAILED - RETRYING: Create myproject PushApplication on service host 172.30.123.172 (1 retries left).
fatal: [localhost]: FAILED! => {"attempts": 5, "changed": false, "connection": "close", "content": "<html><head><title>Error</title></head><body>404 - Not Found</body></html>", "content_length": "74", "content_type": "text/html", "date": "Tue, 29 May 2018 10:06:23 GMT", "msg": "Status code was 404 and not [201
@psturc
psturc / mobile-core-install.log
Created May 29, 2018 08:38
Installation of OC client with Mobile Core installer does not work
~/work/aerogear/mobile-core/ pr/88 ./installer/install.sh
__ __ ____ ____
| \/ |/ ___| _ \
| |\/| | | | |_) |
| | | | |___| __/
|_| |_|\____|_|
Checking Docker exists
✓ Docker check passed.
~/work/aerogear/aerogear-js-sdk/ master npm run build
> [email protected] build /Users/psturc/work/aerogear/aerogear-js-sdk
> lerna run build
lerna info version 2.11.0
> @aerogear/[email protected] build /Users/psturc/work/aerogear/aerogear-js-sdk/packages/core
> tsc
@psturc
psturc / client-config.json
Last active May 15, 2018 12:40
Keycloak name & type values missing
{
"version": 1,
"clusterName": "https://192.168.37.1:8443",
"namespace": "myproject",
"clientId": "myapp-android",
"services": [
{
"id": "keycloak-myapp-android-public",
"name": "",
"type": "",
@psturc
psturc / bug-ups-api-delete.log
Created May 10, 2018 14:40
Bug: Deletion of variant using id of non-existing app works
✅ Should get all variants of the specific app
λ ~/ curl -s http://localhost:18081/rest/applications/cdcd7b5d-9a3d-4a7c-93bf-c04df04e7316
{"id":"c1a79257-dfb7-431d-9486-476201cd0992","name":"testapp","description":null,"pushApplicationID":"cdcd7b5d-9a3d-4a7c-93bf-c04df04e7316","masterSecret":"edc5d4f4-feff-4d61-bb67-79a05575a403","developer":"admin","variants":[{"id":"c95d2e29-7432-41e9-9807-bc65e1f61adb","name":"android-variant","description":null,"variantID":"2cc9de5f-62f6-4f04-bdb7-3044064f4100","secret":"7d6935bc-18b9-4025-b873-11eecc0d18e9","developer":"admin","googleKey":"asdf","projectNumber":"ios-variant","type":"android"},{"id":"dc54f4af-229b-4c0b-9e99-79f9712bcb3c","name":"ios-variant","description":null,"variantID":"26da6dd3-6b64-4b4b-8e17-0cffb36e7392","secret":"318ae357-0b8b-4f7e-aeaa-994075123f31","developer":"admin","production":false,"type":"ios"}]}%
✅ Sho