Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
If I need to upgrade the libraries api module from 1.0 to 2.0?
can I delete the libraries api folder and replace it with the new 2.0 and run update.php?
thanks a lot.
Comments
Comment #1
velden000 CreditAttribution: velden000 commentedFound a workaround.
(first place site in maintenance mode ;-)
1. Rename current libraries directory (e.g. with Filezilla)
current directory is present in sites>all>modules>contrib
renamed to libraries_old
2. Zip file, decompressed and with FTP placed in sites>all>modules>contrib
3. Afterwards run update database.
In the module list, new version will be visible.
4. Put site out of maintenance
Works for me
Optional: remove dir sites>all>modules>contrib>libraries_old
Succes
Comment #2
doomed CreditAttribution: doomed commentedjust a tip:
don't leave old versions behind. if not in use, remove from the modules folder.
Comment #3
doomed CreditAttribution: doomed commentedAlso, as velden000 said, the upgrade is straight forward. Delete old version (v1), upload new version (v2) and run update.php .
Comment #4
doomed CreditAttribution: doomed commentedJust did another upgrade from 7.x-1.0 to 7.x-2.2
As mentioned above.
No issues afaik.