Hello,
I have several customers with an gallery on my server. How can I apply the patch to all the users in a simple way? I don't know the passwords from the customers since the can change the password to something the choose. I tried to create another Admin account with phpmyadmin but then I can't login to system to do the conversion..
Anyone an idee?
Regards,
Peter
Posts: 8601
Write a script to cd into each user's gallery2 directory and run the patch command..
http://codex.gallery2.org/index.php/Gallery2:Upgrading_from_2.0_to_2.0.1#Option_3._Applying_a_patch
Posts: 5
that part is the easy part, but when a user visits the photoalbum, Conversion screen appears. And then a user must enter his or her password for the admin account. I want to prevent that step by doing it myself.
Posts: 32509
the admin of a specific G2 always has to run the upgrade wizard. IMO that's the easy part, just entering the admin password and clicking 5 times next.
Posts: 5
thats the problem.. I have several users with standalone albums.. each user has it's own admin password, and the options to change it.
Posts: 32509
i don't quite understand your setup.
you're now speaking of
. do you mean each user has its own G2? that's the way we understood your first post in this topic.
how is that a problem?
Posts: 5
each user has it's standalone g2 gallery on my system. But I want to upgrade all of the gallery installations, without the need of a user conversion of the gallery. To do so I need all the admin accounts or is there an other way?
Posts: 32509
why not let your users complete the update process? it's quite easy...
else:
yes, you need the setup password for each g2 installation. it's stored in config.php.
in future, you might ask your customers to change the password of their admin user after the installation process (your account -> change password).
then the setup password and the admin user password won't be the same and you and your customer can share the setup password for maintenance tasks (e.g. upgrade g2), but your customer is still the only user who knows the password for the admin user.
Posts: 5
thankz for your help.. it worked...