Problem deploying an app

Hello,

i tried to deploy an app, but it failes:

pi@raspberrypi:~/Matrix_Projects $ matrix use mv01
Now using device: mv01 ID: d362cdf95be2
pi@raspberrypi:~/Matrix_Projects $ matrix deploy MVText01
⣷ Reading  /home/pi/Matrix_Projects/MVText01/
Validating configuration file...
Successfully validated configuration file
Requesting deploy...
Processing deployment parameters...
Deploying to device...
⣾ Unable to reach device, the application will be installed as 
soon as your device is available

How to solve this problem?

Is MatrixOS running on your device? Please paste logs from after MATRIX ASCII.

Run DEBUG=* matrix delpoy MVText01 and paste those logs.

pi@raspberrypi:~/Matrix_Projects $ DEBUG=* matrix delpoy MVText01
cli Env: rc +0ms

       _  _ ____ ___ ____ _ _  _
       |\/| |__|  |  |__/ |  \/   _ | [o]
       |  | |  |  |  |  \ | _/\_ |_ |_ | v1.7.0  - rc

---- SETUP ----
register - Create a MATRIX platform user
↳ [device] - register new device
account - Manage user account details
↳ [profile] - update user profile info
remove - Remove a device from your account
login - Login to the MATRIX platform
logout - Log out of the MATRIX platform
upgrade - Updates CLI on your local computer
use - Indicate active device
set - Set environment/locale
↳ ( env (production|dev), locale (es|en) )

– MANAGEMENT –
list - Information about your devices, applications and installs
↳ ( apps, devices, all )

----- APPS -----
search - Search for apps
install - Install an app to selected MATRIX device
uninstall - Uninstall the app
config - (key=value) View and set application configuration
update - Install a specific application version
start - Starts an app running on the active device
stop - Stops an app running on the active device
restart - Restarts an app running on the device

  • DEVELOPMENT -
    create - (name) Creates a new scaffolding for an application
    deploy - (name) Deploy application to the active device
    publish - (name) Publishes a version of the App to the store.
    unpublish - (name) unpublish an App from the store
    trigger - Runs a CrossTalk event test
    ping - Flash lights on selected Matrix device
    log - Logs output from selected device and applications

API: https://rc-api.admobilize.com Streaming: https://rc-mxss.admobilize.com
User: abc Device: d362cdf95be2 Locale: en Env: rc

@CreatorSean

any ideas :slight_smile:

Can you try with deploy instead of delpoy?

I am facing similar problem too. I have enclosed the debug message. Appreciate your kind assistance.

pi@raspberrypi:~/matrix-os $ DEBUG=* matrix deploy testApp2
cli Env: rc +0ms
cli Env: rc +0ms
⣷ sdk Token ok! +1s
⣯ cli Firebase Init 5a89247d27f6de010035c73f daede63d24b2 +8ms
firebase:util using rc / production firebase +6ms
⣯ firebase:util Firebase Auth Success +2s
⣾ firebase:util [fb]installed-app> testApp1 +502ms
firebase:util testApp1 :white_check_mark: +6ms
firebase:util [fb]installed-app> testApp2 +16ms
firebase:util testApp2 :white_check_mark: +2ms
firebase:util done mapping app records +1ms
helpers Checking app folder… +7ms
helpers Processed README.MD! +3ms
helpers Processed app.js! +1ms
helpers Processed config.yaml! +1ms
helpers Processed index.js! +0ms
helpers Processed package.json! +0ms
helpers Checking app code… +1ms
helpers Collecting app data… +127ms
helpers included config { configVersion: 2,
description: ‘Blink LED’,
keywords: ‘test’,
name: ‘testApp2’,
shortName: ‘testApp2’,
displayName: ‘Test App 2’ } +5ms
⣷ helpers Policy:> {} +90ms
helpers App package.json:{“name”:“testApp2”,“version”:“1.0.0”,“description”:"",“main”:“index.js”,“scripts”:{“test”:“echo “Error: no test specified” && exit 1”},“author”:"",“license”:“ISC”,“dependencies”:{“cpu-stats”:"^1.0.0"}} +6ms
helpers Package.json data extracted: { name: ‘testApp2’,
version: ‘1.0.0’,
description: ‘Blink LED’,
categories: [ ‘Development’ ],
keywords: [ ‘Test’ ],
shortname: ‘testapp2’,
displayName: ‘Test App 2’,
policy: {},
config:
{ configVersion: 2,
description: ‘Blink LED’,
keywords: ‘test’,
name: ‘testApp2’,
shortName: ‘testApp2’,
displayName: ‘Test App 2’,
categories: [ ‘Development’ ] } } +1ms
deploy Using app details: {“name”:“testApp2”,“version”:“1.0.0”,“description”:“Blink LED”,“categories”:[“Development”],“keywords”:[“Test”],“shortname”:“testapp2”,“displayName”:“Test App 2”,“policy”:{},“config”:{“configVersion”:2,“description”:“Blink LED”,“keywords”:“test”,“name”:“testApp2”,“shortName”:“testApp2”,“displayName”:“Test App 2”,“categories”:[“Development”]}} +7ms
Reading /home/pi/matrix-os/testApp2/
Writing /home/pi/.matrix/testApp2.zip
helpers Zipping app in /home/pi/matrix-os/testApp2/ +600ms
helpers Appending README.MD +2ms
helpers Appending app.js +9ms
helpers Appending config.yaml +2ms
helpers Appending index.js +2ms
helpers Appending package.json +1ms
⣯ helpers Zip start +54ms
⢿ helpers Zip finish +267ms
helpers Track Event app-deploy { aid: ‘testApp2’, did: ‘daede63d24b2’ } +4ms
deploy Finished packaging testApp2 +33ms
Validating configuration file…
config-helper validate +8ms
config-helper Name: testApp2 +2ms
config-helper Desc: Blink LED +0ms
config-helper Version: 2 +0ms
config-helper Keywords: test +1ms
config-helper =========== CONFIG VALIDATE ============= +0ms
Successfully validated configuration file
⣷ helpers Retreiving upload url +3ms
helpers get https://rc-api.admobilize.com/v2/app/resources/uploadurl?access_token=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGFpbXMiOnsidXNlclRva2VuIjp0cnVlfSwidWlkIjoiNWE4OTI0N2QyN2Y2ZGUwMTAwMzVjNzNmIiwiaWF0IjoxNTE4OTY2MjUzLCJleHAiOjE1MTg5Njk4NTMsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHl0b29sa2l0Lmdvb2dsZWFwaXMuY29tL2dvb2dsZS5pZGVudGl0eS5pZGVudGl0eXRvb2xraXQudjEuSWRlbnRpdHlUb29sa2l0IiwiaXNzIjoidG9rZW5hdXRoQGFkbW9iaWxpemUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6InRva2VuYXV0aEBhZG1vYmlsaXplLXByb2R1Y3Rpb24uaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20ifQ.I3hp0-eVJ5i-zx0Ff-ZC94GPWCDpA7pPJA8wx4lbuHpY0jP1IGMR8jSekqWF7GhHB-z95lk0zXrqPF2ggj_TKYV5OTdtrfTQTED0xbJJUNYZX6kguBNP_RREE5a8wHTIHTCOAazWlejY6wVkY6hzdOEU5Q0nnm7IrHfX0rN0DG1lwEOW3hoTwgHI0JJjhZ9Vyf2xljc_yThso90B-JBEiJkR3QhO2KX_B8TegHrzzj0tLbvW0mM2L5lkshtnbBaGaLi4SNyWDFc8Epvy9X1X8UBWYRZ8mTkR1lDKC103Y8rmsoHlHOha10qD9QZWW9ppDlP5NseZSQJHKxGminaByA&appName=testApp2&version=5a89247d27f6de010035c73f/testapp2-63267075.zip&type=zip +1ms
⣷ helpers Uploading to https://www.googleapis.com/upload/storage/v1/b/admobilize-matrix-apps/o?uploadType=resumable&name=apps/testApp2/5a89247d27f6de010035c73f/testapp2-63267075.zip&upload_id=AEnB2UqtIr-8Dt3gT9OBXn7X1QLmtnEvpiWCp1pu9ijQqTpr2B7fRy5nvaKNbDeRqvhv4S3t_dJWtD6NKVRwXdMAGsfwfy8kwg +701ms
⢿ helpers Telemetry Failure +282ms
⣽ helpers Upload response (200) +6s
helpers DOWNLOAD URL: https://storage.googleapis.com/admobilize-matrix-apps/apps/testApp2/5a89247d27f6de010035c73f/testapp2-63267075.zip +8ms
helpers The data sent for testApp2 ( 1.0.0 ) is: { meta:
{ name: ‘testApp2’,
description: ‘Blink LED’,
shortname: ‘testapp2’,
keywords: [ ‘Test’ ],
categories: [ ‘Development’ ],
version: ‘1.0.0’,
file: ‘https://storage.googleapis.com/admobilize-matrix-apps/apps/testApp2/5a89247d27f6de010035c73f/testapp2-63267075.zip’ },
file: ‘https://storage.googleapis.com/admobilize-matrix-apps/apps/testApp2/5a89247d27f6de010035c73f/testapp2-63267075.zip’,
version: ‘1.0.0’,
config:
{ configVersion: 2,
description: ‘Blink LED’,
keywords: ‘test’,
name: ‘testApp2’,
shortName: ‘testApp2’,
displayName: ‘Test App 2’,
categories: [ ‘Development’ ],
validated: true },
policy: {} } +1ms
firebase:queue Processing a task with { error_state: ‘error’,
in_progress_state: ‘application-deploy-in-progress’,
retries: 3,
start_state: ‘application-deploy’,
timeout: 10000 } +61ms
firebase:queue OPTIONS: {“app”:{“meta”:{“name”:“testApp2”,“description”:“Blink LED”,“shortname”:“testapp2”,“keywords”:[“Test”],“categories”:[“Development”],“version”:“1.0.0”,“file”:“https://storage.googleapis.com/admobilize-matrix-apps/apps/testApp2/5a89247d27f6de010035c73f/testapp2-63267075.zip"},“file”:“https://storage.googleapis.com/admobilize-matrix-apps/apps/testApp2/5a89247d27f6de010035c73f/testapp2-63267075.zip”,“version”:“1.0.0”,“config”:{“configVersion”:2,“description”:"Blink LED”,“keywords”:“test”,“name”:“testApp2”,“shortName”:“testApp2”,“displayName”:“Test App 2”,“categories”:[“Development”],“validated”:true},“policy”:{},“override”:true,“acl”:{“ownerId”:“5a89247d27f6de010035c73f”}},“deviceId”:“daede63d24b2”,"_state":“application-deploy”,“token”:“eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGFpbXMiOnsidXNlclRva2VuIjp0cnVlfSwidWlkIjoiNWE4OTI0N2QyN2Y2ZGUwMTAwMzVjNzNmIiwiaWF0IjoxNTE4OTY2MjUzLCJleHAiOjE1MTg5Njk4NTMsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHl0b29sa2l0Lmdvb2dsZWFwaXMuY29tL2dvb2dsZS5pZGVudGl0eS5pZGVudGl0eXRvb2xraXQudjEuSWRlbnRpdHlUb29sa2l0IiwiaXNzIjoidG9rZW5hdXRoQGFkbW9iaWxpemUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6InRva2VuYXV0aEBhZG1vYmlsaXplLXByb2R1Y3Rpb24uaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20ifQ.I3hp0-eVJ5i-zx0Ff-ZC94GPWCDpA7pPJA8wx4lbuHpY0jP1IGMR8jSekqWF7GhHB-z95lk0zXrqPF2ggj_TKYV5OTdtrfTQTED0xbJJUNYZX6kguBNP_RREE5a8wHTIHTCOAazWlejY6wVkY6hzdOEU5Q0nnm7IrHfX0rN0DG1lwEOW3hoTwgHI0JJjhZ9Vyf2xljc_yThso90B-JBEiJkR3QhO2KX_B8TegHrzzj0tLbvW0mM2L5lkshtnbBaGaLi4SNyWDFc8Epvy9X1X8UBWYRZ8mTkR1lDKC103Y8rmsoHlHOha10qD9QZWW9ppDlP5NseZSQJHKxGminaByA”} +3ms
firebase:queue update> { ‘-L5dY1ns05L9Wh2h5JOY’:
{ app:
{ meta: [Object],
file: ‘https://storage.googleapis.com/admobilize-matrix-apps/apps/testApp2/5a89247d27f6de010035c73f/testapp2-63267075.zip’,
version: ‘1.0.0’,
config: [Object],
policy: {},
override: true,
acl: [Object] },
deviceId: ‘daede63d24b2’,
_state: ‘application-deploy’,
token: ‘eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGFpbXMiOnsidXNlclRva2VuIjp0cnVlfSwidWlkIjoiNWE4OTI0N2QyN2Y2ZGUwMTAwMzVjNzNmIiwiaWF0IjoxNTE4OTY2MjUzLCJleHAiOjE1MTg5Njk4NTMsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHl0b29sa2l0Lmdvb2dsZWFwaXMuY29tL2dvb2dsZS5pZGVudGl0eS5pZGVudGl0eXRvb2xraXQudjEuSWRlbnRpdHlUb29sa2l0IiwiaXNzIjoidG9rZW5hdXRoQGFkbW9iaWxpemUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6InRva2VuYXV0aEBhZG1vYmlsaXplLXByb2R1Y3Rpb24uaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20ifQ.I3hp0-eVJ5i-zx0Ff-ZC94GPWCDpA7pPJA8wx4lbuHpY0jP1IGMR8jSekqWF7GhHB-z95lk0zXrqPF2ggj_TKYV5OTdtrfTQTED0xbJJUNYZX6kguBNP_RREE5a8wHTIHTCOAazWlejY6wVkY6hzdOEU5Q0nnm7IrHfX0rN0DG1lwEOW3hoTwgHI0JJjhZ9Vyf2xljc_yThso90B-JBEiJkR3QhO2KX_B8TegHrzzj0tLbvW0mM2L5lkshtnbBaGaLi4SNyWDFc8Epvy9X1X8UBWYRZ8mTkR1lDKC103Y8rmsoHlHOha10qD9QZWW9ppDlP5NseZSQJHKxGminaByA’ } } +11ms
firebase:queue Task Queue> { _state: ‘application-deploy’,
app:
{ acl: { ownerId: ‘5a89247d27f6de010035c73f’ },
config:
{ categories: [Object],
configVersion: 2,
description: ‘Blink LED’,
displayName: ‘Test App 2’,
keywords: ‘test’,
name: ‘testApp2’,
shortName: ‘testApp2’,
validated: true },
file: ‘https://storage.googleapis.com/admobilize-matrix-apps/apps/testApp2/5a89247d27f6de010035c73f/testapp2-63267075.zip’,
meta:
{ categories: [Object],
description: ‘Blink LED’,
file: ‘https://storage.googleapis.com/admobilize-matrix-apps/apps/testApp2/5a89247d27f6de010035c73f/testapp2-63267075.zip’,
keywords: [Object],
name: ‘testApp2’,
shortname: ‘testapp2’,
version: ‘1.0.0’ },
override: true,
version: ‘1.0.0’ },
deviceId: ‘daede63d24b2’,
token: ‘eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGFpbXMiOnsidXNlclRva2VuIjp0cnVlfSwidWlkIjoiNWE4OTI0N2QyN2Y2ZGUwMTAwMzVjNzNmIiwiaWF0IjoxNTE4OTY2MjUzLCJleHAiOjE1MTg5Njk4NTMsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHl0b29sa2l0Lmdvb2dsZWFwaXMuY29tL2dvb2dsZS5pZGVudGl0eS5pZGVudGl0eXRvb2xraXQudjEuSWRlbnRpdHlUb29sa2l0IiwiaXNzIjoidG9rZW5hdXRoQGFkbW9iaWxpemUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6InRva2VuYXV0aEBhZG1vYmlsaXplLXByb2R1Y3Rpb24uaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20ifQ.I3hp0-eVJ5i-zx0Ff-ZC94GPWCDpA7pPJA8wx4lbuHpY0jP1IGMR8jSekqWF7GhHB-z95lk0zXrqPF2ggj_TKYV5OTdtrfTQTED0xbJJUNYZX6kguBNP_RREE5a8wHTIHTCOAazWlejY6wVkY6hzdOEU5Q0nnm7IrHfX0rN0DG1lwEOW3hoTwgHI0JJjhZ9Vyf2xljc_yThso90B-JBEiJkR3QhO2KX_B8TegHrzzj0tLbvW0mM2L5lkshtnbBaGaLi4SNyWDFc8Epvy9X1X8UBWYRZ8mTkR1lDKC103Y8rmsoHlHOha10qD9QZWW9ppDlP5NseZSQJHKxGminaByA’ } +44ms
Requesting deploy…
⣯ firebase:app USERS DEVICES APPS (apps) > NEW APP: { ad07c8597c45:
{ createdAt: 1518967274473,
description: ‘Blink LED’,
icon: ‘’,
name: ‘testApp2’,
updatedAt: 1518967274473,
version: ‘1.0.0’ } } +155ms
firebase:app USERS DEVICES APPS > ad07c8597c45 +3ms
deploy App install ad07c8597c45 activity +2ms
deploy App id ad07c8597c45 identified +0ms
⡿ firebase:queue Task Queue> { _owner: ‘application_deploy:0:d88ca195-7107-45d9-b628-51571ce1bac3:152’,
_progress: 0,
_state: ‘application-deploy-in-progress’,
_state_changed: 1518967991866,
app:
{ acl: { ownerId: ‘5a89247d27f6de010035c73f’ },
config:
{ categories: [Object],
configVersion: 2,
description: ‘Blink LED’,
displayName: ‘Test App 2’,
keywords: ‘test’,
name: ‘testApp2’,
shortName: ‘testApp2’,
validated: true },
file: ‘https://storage.googleapis.com/admobilize-matrix-apps/apps/testApp2/5a89247d27f6de010035c73f/testapp2-63267075.zip’,
meta:
{ categories: [Object],
description: ‘Blink LED’,
file: ‘https://storage.googleapis.com/admobilize-matrix-apps/apps/testApp2/5a89247d27f6de010035c73f/testapp2-63267075.zip’,
keywords: [Object],
name: ‘testApp2’,
shortname: ‘testapp2’,
version: ‘1.0.0’ },
override: true,
version: ‘1.0.0’ },
deviceId: ‘daede63d24b2’,
token: ‘eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGFpbXMiOnsidXNlclRva2VuIjp0cnVlfSwidWlkIjoiNWE4OTI0N2QyN2Y2ZGUwMTAwMzVjNzNmIiwiaWF0IjoxNTE4OTY2MjUzLCJleHAiOjE1MTg5Njk4NTMsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHl0b29sa2l0Lmdvb2dsZWFwaXMuY29tL2dvb2dsZS5pZGVudGl0eS5pZGVudGl0eXRvb2xraXQudjEuSWRlbnRpdHlUb29sa2l0IiwiaXNzIjoidG9rZW5hdXRoQGFkbW9iaWxpemUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6InRva2VuYXV0aEBhZG1vYmlsaXplLXByb2R1Y3Rpb24uaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20ifQ.I3hp0-eVJ5i-zx0Ff-ZC94GPWCDpA7pPJA8wx4lbuHpY0jP1IGMR8jSekqWF7GhHB-z95lk0zXrqPF2ggj_TKYV5OTdtrfTQTED0xbJJUNYZX6kguBNP_RREE5a8wHTIHTCOAazWlejY6wVkY6hzdOEU5Q0nnm7IrHfX0rN0DG1lwEOW3hoTwgHI0JJjhZ9Vyf2xljc_yThso90B-JBEiJkR3QhO2KX_B8TegHrzzj0tLbvW0mM2L5lkshtnbBaGaLi4SNyWDFc8Epvy9X1X8UBWYRZ8mTkR1lDKC103Y8rmsoHlHOha10qD9QZWW9ppDlP5NseZSQJHKxGminaByA’ } +116ms
Processing deployment parameters…
⣷ firebase:app USERS DEVICES APPS (apps) > NEW APP: { ad07c8597c45:
{ createdAt: 1518967274470,
description: ‘Blink LED’,
icon: ‘’,
name: ‘testApp2’,
updatedAt: 1518967991896,
version: ‘1.0.0’ } } +23ms
firebase:app USERS DEVICES APPS > ad07c8597c45 +4ms
deploy App install ad07c8597c45 activity +0ms
firebase:queue Task Queue> null +8ms
firebase:queue task finished! +1ms
Deploying to device…
⣾ Unable to reach device, the application will be installed as soon as your device is available

I think the service is still under maintenance: