Create a gist now

Instantly share code, notes, and snippets.

Embed
eXist-db: reinstall dashboard and shared-resources if broken. Run the following query through eXide - or if this fails: the Java admin client.
repo:remove("http://exist-db.org/apps/shared"),
repo:remove("http://exist-db.org/apps/dashboard"),
repo:install-and-deploy("http://exist-db.org/apps/shared", "http://exist-db.org/exist/apps/public-repo/find"),
repo:install-and-deploy("http://exist-db.org/apps/dashboard", "http://exist-db.org/exist/apps/public-repo/find")
@cyberxml

This comment has been minimized.

Show comment
Hide comment
@cyberxml

cyberxml Mar 19, 2015

Thanks! Fixed "The actual return type does not match the sequence type" errors thrown by view.xql. Used slightly modified version to recover corrupt install by command line on headless development server, replacing internal quotes with single ticks for command line parsing.

echo "repo:remove('http://exist-db.org/apps/dashboard')" | ./bin/client.sh -s -u admin -P nothispw -x

and

echo "repo:install-and-deploy('http://exist-db.org/apps/dashboard', 'http://exist-db.org/exist/apps/public-repo/find')" | ./bin/client.sh -s -u admin -P notthispw -x

Thanks! Fixed "The actual return type does not match the sequence type" errors thrown by view.xql. Used slightly modified version to recover corrupt install by command line on headless development server, replacing internal quotes with single ticks for command line parsing.

echo "repo:remove('http://exist-db.org/apps/dashboard')" | ./bin/client.sh -s -u admin -P nothispw -x

and

echo "repo:install-and-deploy('http://exist-db.org/apps/dashboard', 'http://exist-db.org/exist/apps/public-repo/find')" | ./bin/client.sh -s -u admin -P notthispw -x

@dizzzz

This comment has been minimized.

Show comment
Hide comment
@dizzzz

dizzzz Aug 28, 2015

note... @wolf suggestion requires a network connection....

dizzzz commented Aug 28, 2015

note... @wolf suggestion requires a network connection....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment