Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Upgrade to 2.3.0-rc1 by batch


Go to End


2 Posts   1487 Views

Avatar
freakout

Community Member, 49 Posts

20 November 2008 at 7:25pm

We're running 30+ SilverStripe sites on a server for multiple clients. Currently testing 2.3.0-rc1 in the work to be prepared for the new release. Is there a way to script the db/build?flush=1 call to migrate the database by wget? We do not know any administrator logins for the sites because we just providing the infrastructure. When we upgrade to SilverStripe 2.3.0 we will do that centrally for all site/clients and we would like to migrate the databases by batch/script without knowing any administrator login for the CMS?

Avatar
Willr

Forum Moderator, 5523 Posts

20 November 2008 at 7:45pm

If you have SAKE setup you can trigger database rebuilds via the command line by going sake db/build flush=1 - http://doc.silverstripe.com/doku.php?id=sake. Im pretty sure this won't ask you for a password.