I suddenly cannot build anything in drone. All attempts leave me with a build stuck in “pending”. From chrome devtools I’m seeing the following errors:
TypeError: Cannot read property 'slug' of undefined
at a.hrefCommit (app.c487a027.js:1)
at sn.get (chunk-vendors.f5840117.js:7)
at sn.evaluate (chunk-vendors.f5840117.js:7)
at a.hrefCommit (chunk-vendors.f5840117.js:7)
at a.config (app.c487a027.js:1)
at sn.get (chunk-vendors.f5840117.js:7)
at sn.evaluate (chunk-vendors.f5840117.js:7)
at a.config (chunk-vendors.f5840117.js:7)
at a.Te (app.c487a027.js:1)
at a.t._render (chunk-vendors.f5840117.js:7)
If I expand the app.js it seems to be tripping up at:
a javascript error in the UI cannot prevent a build from running in the backend. Do you mean to report that the UI is not properly rendering the page or is not properly rendering live updates?
Also did you download directly from master (e.g. drone/drone:latest)? If yes, please note there is a breaking configuration change to single machine mode. I recommend using the 1.4 tagged release instead.
Yeah, so I’m using watchtower, it was due to breaking changes in latest. Have rolled back for now as suggested. Really appreciate the assistance, thanks.
I can provide some more context regarding the change in master …
Previously the server was started in single machine mode with agents disabled by default. In :latest the server is started with agents enabled by default. So if you want to run in single machine mode with :latest you need to explicitly disable agents with DRONE_AGENTS_DISABLED=true