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.
By Rory-- on
I know many programs have problems upgrading between versions, since they completely reformat the database layout.
My question is: is it safe to upgrade from version 4.6 to 4.7? Or will it mess up my site? I have about 1900 nodes made so far, and I don't want to have to manually recreate them.
Comments
Test site
You can test the upgrade with a test site... By the way, it is strongly recommended to upgrade a test site, and if the upgrade went well, put the test site in production...
In my opinion, I think there should be no problem for the nodes during the migration, but don't forget to test before !
Okay, will do! EDIT: Well,
Okay, will do!
EDIT: Well, I'm using Fantastico to add Drupal and update it, and it doesn't let me make a test site. Would it mess Fantastico up if I upgrade manually?
Fantastico not yet doing 4.7
Using Fantastico you can Have as many installs of Drupal as you, limit one per directory. But you can have an unlimited number of directories per site.
But it will probably be months before Fantastico will install 4.7. They only do "stable" releases.
Shai
content2zero.com
4.7 isn't stable yet?
4.7 isn't stable yet?
It just released into RC status
And at present there are still two critical bugs. My guess is early summer for a stable release.
Worked fine for me
I upgraded my site and wrote an article on the process here: http://cmsfactor.com/drupal4_7
Seemed to work perfectly smoothly for me.
Okay, thanks. I'll be sure
Okay, thanks. I'll be sure to check it out.
I'll be upgrading this afternoon, so I guess I'll see for myself how well it works!
Oh, and what about module support? My Drupal page is heavily modded right now, and I know that all the mods I use now are also available on 4.7, but will I have to reinstall them?
HUGE ERROR
When I go to upgrade.php, I get this:
I need help. What's happening?
Didn't you try to update
Didn't you try to update with all your modules?
The readme says: log in as user 1, deactivate all contributed modules, remove all files from your drupal folder, put the updated files (only drupal core), change your settings.php, run the upgrade.php script with your navigator. Then you should try to install new version of contributed modules, one by one...
AHA!
"Deactivate modules!"
I knew I was missing SOMETHING...
EDIT: But no, even with the modules off I get this:
Not only deactivate...
You have to delete all files, and copy only Drupal core files, then run update.php, then, reinstall the modules, one by one...
I can't see how you can get errors concerning modules if you followed the instructions...
Ugh...
That's going to be a pain. Will the database be emptied during the upgrade, or will it still be there when I reinstall the modules?
Update modules to 4.7
Reading different post in Drupal.org, looking for detailed information about update from 4.6.x to 4.7, I think that perpahps it would be fine if someone write a post which explains this process.
Updating drupal core seems to be easy: backup of files and database, deactivate and delete modules contributed and ... if all has gone well you have drupal 4.7. working.
Now you have to append any contributed module you need.
Some questions I have:
- I suppose all the content in sql tables of my old modules will remain (Flexinode, event, frontpage, views...)
- Will the automatic install function delete my old data when create the new tables? I've read one .install file and only see "create table" statements.
Indeed the trouble is between make work the contributed modules and preserve the data.
UPDATE (Again)
Well, it's working okay for now, but I have a few problems:
First, I have an annoying message on my front page:
And it's ugly.
Second, I'm using some outdated mods, BUT some (like Flexinode) don't have a 4.7 upgrade. It seems to be working, but will there be adverse effects on my site?
Third, some users are having log-in problems. Anybody else run across this problem?
location module with 4.7?
ronoxQ, how does your location module work with the 4.7 upgrade? I don't see the location module on the list of 4.7 modules. I'm nervous to take my site that uses location module and upgrade it to 4.7.
I don't use the location
I don't use the location module. Sorry I couldn't be of much help.
However, Flexinode was the one I was worried about (extensive customization) and it upgraded like a charm.