I think it should be possitble to do an update from a terminal (ssh) without a browser.

How do I have to change the mysql-database to deactivate all modules except the core-modul? If this is not possible, how do I deactivate a modul? Which tables are used?

Same question for themes.

I would like to write a bash-script for a mass-uodate.

Comments

gpk’s picture

To enable/disable modules and themes, just modify the status field in the {system} table.

Also have a look at drush module.

gpk
----
www.alexoria.co.uk

linuxuser’s picture

Thanks, drush looks great! But I have an error:

Failed loading /usr/local/IonCube/ioncube_loader_lin_5.2.so:  /usr/local/IonCube/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory

Is there something I have my hoster to ask to install it?

gpk’s picture

Sorry, no idea, I've not used drush. You might also want to have a look in the drush issue queue, or open a support request there.

gpk
----
www.alexoria.co.uk

clemens.tolboom’s picture

Use http://drupal.org/project/drush_mm to enable/disable modules.

linuxuser’s picture

Unfortunately drush is not able to do core updates. I wonder that, there is nobody who wrote a bash script or whatever to do a core updates remote. It you have a lot similar drupal cms to update, it is a work for days.

AfterSys’s picture

i am actually scripting this, but its far away from a public release since its dependent on my local setup layout right now, i might have an interest to turn this into something more flexible in the near future
are you doing any work on this or just looking?