cordova-plugin-meteor-webapp icon indicating copy to clipboard operation
cordova-plugin-meteor-webapp copied to clipboard

Crash on boot with "Couldn't load runtime config from index file"

Open jasonschock opened this issue 7 years ago • 8 comments

I'm attempting to upgrade from from Meteor 1.5 to 1.6.1 (I need the latest version of cordova-android). Currently using Meteor 1.6.1-beta.11.

App is hanging at splash screen on startup. Obvious error I'm seeing is this: 2017-11-30 16:58:18.036069-0800 dev[1101:404950] Couldn't load runtime config from index file.

Full logs from Xcode below. How can I help troubleshoot this?

2017-11-30 16:58:17.789588-0800 dev[1101:404950] Apache Cordova native platform version 4.5.3 is starting.
2017-11-30 16:58:17.789932-0800 dev[1101:404950] Multi-tasking -> Device: YES, App: YES
2017-11-30 16:58:17.804525-0800 dev[1101:404950] 

Started backup to iCloud! Please be careful.
Your application might be rejected by Apple if you store too much data.
For more information please read "iOS Data Storage Guidelines" at:
https://developer.apple.com/icloud/documentation/data-storage/
To disable web storage backup to iCloud, set the BackupWebStorage preference to "local" in the Cordova config.xml file
2017-11-30 16:58:17.962940-0800 dev[1101:404950] [MC] Lazy loading NSBundle MobileCoreServices.framework
2017-11-30 16:58:17.964594-0800 dev[1101:404950] [MC] Loaded MobileCoreServices.framework
2017-11-30 16:58:17.968551-0800 dev[1101:404950] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-11-30 16:58:17.998375-0800 dev[1101:404950] CDVWKWebViewEngine will reload WKWebView if required on resume
2017-11-30 16:58:17.998480-0800 dev[1101:404950] Using WKWebView
2017-11-30 16:58:17.999414-0800 dev[1101:404950] [CDVTimer][console] 0.223994ms
2017-11-30 16:58:17.999824-0800 dev[1101:404950] [CDVTimer][handleopenurl] 0.285029ms
2017-11-30 16:58:18.003796-0800 dev[1101:404950] [CDVTimer][intentandnavigationfilter] 3.881991ms
2017-11-30 16:58:18.004046-0800 dev[1101:404950] [CDVTimer][gesturehandler] 0.150025ms
2017-11-30 16:58:18.036069-0800 dev[1101:404950] Couldn't load runtime config from index file: Couldn't load runtime config from index file
2017-11-30 16:58:18.037887-0800 dev[1101:404950] Serving asset bundle version: fc5c525ba9ad9e1b9a9fcc3f09211dce8d72a412
[INFO] GCDWebServer started on port 12104 and reachable at http://localhost:12104/
2017-11-30 16:58:18.041294-0800 dev[1101:404950] [CDVTimer][webapplocalserver] 37.114978ms
2017-11-30 16:58:18.051991-0800 dev[1101:404950] [CDVTimer][statusbar] 10.537982ms
2017-11-30 16:58:18.123596-0800 dev[1101:404950] [CDVTimer][splashscreen] 71.482956ms
2017-11-30 16:58:18.127387-0800 dev[1101:404950] [CDVTimer][file] 3.620982ms
2017-11-30 16:58:18.127653-0800 dev[1101:404950] [CDVTimer][privacyscreenplugin] 0.171959ms
2017-11-30 16:58:18.127805-0800 dev[1101:404950] [CDVTimer][TotalPluginStartup] 128.715038ms
2017-11-30 16:58:18.140259-0800 dev[1101:404950] createNotificationChecker
2017-11-30 16:58:18.140332-0800 dev[1101:404950] not coldstart
2017-11-30 16:58:18.165401-0800 dev[1101:404950] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
2017-11-30 16:58:18.168063-0800 dev[1101:404950] Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
2017-11-30 16:58:18.197747-0800 dev[1101:404950] refreshPreferences: HangTracerEnabled: 0
2017-11-30 16:58:18.208626-0800 dev[1101:404950] refreshPreferences: HangTracerDuration: 500
2017-11-30 16:58:18.240375-0800 dev[1101:404950] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0
2017-11-30 16:58:18.258847-0800 dev[1101:404950] active
2017-11-30 16:58:18.260620-0800 dev[1101:404950] PushPlugin skip clear badge
2017-11-30 16:58:38.353791-0800 dev[1101:405193] App startup timed out, reverting to last known good version

jasonschock avatar Dec 01 '17 01:12 jasonschock

And same problem on Android, FWIW.

jasonschock avatar Dec 01 '17 01:12 jasonschock

Also experiencing this. Was fine in 1.6.

bmanturner avatar Dec 03 '17 16:12 bmanturner

This is persisting for me in 1.6.1 beta 14, as well.

jasonschock avatar Dec 05 '17 19:12 jasonschock

Did you try updating to Meteor 1.6 first, to verify everything worked with the stable release?

benjamn avatar Dec 07 '17 13:12 benjamn

Yes. Works perfectly fine on 1.6 (except for an unrelated issue on iOS 9 that I'm still working out).

-------- Original Message -------- Subject: Re: [meteor/cordova-plugin-meteor-webapp] Crash on boot with "Couldn't load runtime config from index file" (#40) Local Time: December 7, 2017 7:08 AM UTC Time: December 7, 2017 1:08 PM From: [email protected] To: meteor/cordova-plugin-meteor-webapp [email protected] Brendan Turner [email protected], Comment [email protected]

Did you try updating to Meteor 1.6 first, to verify everything worked with the stable release?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

bmanturner avatar Dec 07 '17 14:12 bmanturner

that is probably related to https://github.com/meteor/meteor/issues/9521 which has been fixed by latest rc

macrozone avatar Jan 10 '18 20:01 macrozone

Seems to be fixed for me — currently on RC 8. 👍

jasonschock avatar Jan 18 '18 23:01 jasonschock

@hwillson closing this issue seems the way to go :)

KoenLav avatar Apr 09 '19 19:04 KoenLav