Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade fails but succeeds in Dashboard #519

Closed
abbyad opened this issue Jun 13, 2014 · 6 comments
Closed

Upgrade fails but succeeds in Dashboard #519

abbyad opened this issue Jun 13, 2014 · 6 comments
Assignees
Labels
Type: Bug Fix something that isn't working as intended
Milestone

Comments

@abbyad
Copy link
Contributor

abbyad commented Jun 13, 2014

Upgrading in Dashboard appears to success, but must have failed since the version in kujua-lite does not get bumped up.

This has happened for both updated I have tried lately, going from 0.4.0-alpha.569 to 576 and from 0.4.0-alpha.576 to 580 (after having done a clean reinstall in between).

@abbyad
Copy link
Contributor Author

abbyad commented Jun 13, 2014

Not sure if any of this is useful, but here is a screenshot and my console output:

failed update

"Updating App" "0%" undefined undefined common.js:87
"../_couch" modules.js:1
"Checking Current Settings" "10%" undefined undefined common.js:87
"Updating App" "30%" undefined undefined common.js:87
"Merging Settings" "80%" undefined undefined common.js:87
"Configuring Type" "98%" undefined undefined common.js:87
"Update Complete" "100%" true true common.js:87
Error: Reduce output must shrink more rapidly: Current output: '[{"percent":31,"msg":"[npm] GET http://service:a6a6c76f0d5a2e4980cf93a3e646c123ddbe27d42e99ef7e46ff7'... (first 100 of 651 bytes)
Stack trace:
onComplete/<@http://medic.local/dashboard/_design/dashboard/_rewrite/jam/couchr/couchr-browser.js:51
kanso.moduleCache.jquery.load/</f.Callbacks/n@http://medic.local/dashboard/_design/dashboard/_rewrite/modules.js:1
kanso.moduleCache.jquery.load/</f.Callbacks/o.fireWith@http://medic.local/dashboard/_design/dashboard/_rewrite/modules.js:1
w@http://medic.local/dashboard/_design/dashboard/_rewrite/modules.js:1
kanso.moduleCache.jquery.load/</</<.send/d@http://medic.local/dashboard/_design/dashboard/_rewrite/modules.js:1

@mandric
Copy link
Contributor

mandric commented Jun 13, 2014

This is the issue garden20/garden-core#4

@abbyad
Copy link
Contributor Author

abbyad commented Jun 13, 2014

Why is this happening consistently all of a sudden?

Is there anything that we can do to avoid or prevent this situation?

@garethbowen
Copy link
Contributor

@mandric noticed that the replication target is wrong: "target": "kujua-lite" - it should be _design/kujua-lite

In this commit ( garden20/dashboard-core@cb18c68 ) around line 280, for some reason I don't recall now, I removed a copy step which moves the doc to _design/{app_name}, and the step that deletes the old location. Putting these steps back will resolve this issue.

@mandric
Copy link
Contributor

mandric commented Jun 25, 2014

Updating your dashboard to 0.10.16 should fix things — and the dashboard update uses different code so the dashboard update should actually work and then after that app updates should work again.

cc ping marc @abbyad

@abbyad
Copy link
Contributor Author

abbyad commented Jun 26, 2014

Seems fixed as I can successfully upgrade. Moving to Ready

@mandric mandric closed this as completed Jul 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Fix something that isn't working as intended
Projects
None yet
Development

No branches or pull requests

3 participants