Joomla! 4 "discovers" old v3 system extensions

Need help with the Administration of your Joomla! 4.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
strudel
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Wed May 16, 2012 4:41 pm

Joomla! 4 "discovers" old v3 system extensions

Post by strudel » Sat May 28, 2022 7:18 pm

I recently upgraded from Joomla! v3 to v4. When I run System > Discover, it's "discovering" dozens of old (version 3.0.0) components and modules from The Joomla! Project, which I would have expected to be automatically removed as part of the upgrade, but apparently weren't. I'd like to clean these out.

I've tried installing them and then immediately going into System > Manage > Extensions, where they will then appear in the list of installed extensions, right along with the currently-in-use v4 versions. However, if I then try to uninstall the v3 versions (only) , the v4 versions get uninstalled at the same time, even though I wasn't attempting to uninstall them. This ended up breaking my site. I've been able to restore from a backup but am wondering if anyone out there might be able to figure a way to clean out the old junk without breaking the site.

Special thanks to the bloke who has been helping me thus far. 8)
You do not have the required permissions to view the files attached to this post.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41577
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla! 4 "discovers" old v3 system extensions

Post by Webdongle » Sat May 28, 2022 8:47 pm

So you never uninstalled 3rd party extensions before you migrated?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

strudel
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Wed May 16, 2012 4:41 pm

Re: Joomla! 4 "discovers" old v3 system extensions

Post by strudel » Sat May 28, 2022 9:51 pm

Yes, I uninstalled the incompatible third party extensions.

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 12074
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Joomla! 4 "discovers" old v3 system extensions

Post by sozzled » Sat May 28, 2022 9:58 pm

@Webdongle: have a closer look at the screenshot. The extensions there are not "third-party" one but were developed by the J! project. For some strange reason, the update from J! 3.x to J! 4.x did not convert/replace the J! 3.x versions with J! 4.x ones and them behind.

It's possible—and I've done it—to manually unpick a J! website and remove things "left behind" (i.e. traces of extensions that are detected by J!'s discovery tool) and after doing that the discovery tool doesn't discover them (and the FPA reporting tool doesn't find them, either). It's a slow, tedious process and requires a good degree of understanding of what can be done and what should not be attempted. It's too big a process to prescribe a procedure that would cater to 50+ extensions (some of which are core ones and some of which are third-party ones) because there may be relationships between them and the core J! 4 CMS.

The tasks involved in removing, replacing and retiring "outdated" parts of J!, in order to progress to a newer version of J!, are performed by the Joomla! Update component; however, this is not always guaranteed to succeed. If the Joomla! Update facility worked every time on every website there would be no need for this forum, would there?

Migrating from J! 3.x to J! 4.x can be done in a matter of moments but it depends on what you're starting with. If, for example, you installed J! 3.10.9 and did nothing with it—added no articles or menu items, etc.—you could probably update it to J! 4.1.4 within two minutes. But if we started with a J! website that is several Gbytes in size, with 200 extensions installed, that's been developed over the course of the last ten years, say, the complexity is increased by several orders of magnitude. What may take a few minutes to migrate that J! website to J! 4.1.4 may take days, weeks or months of planning and "tidying up" before it's in a "fit state" to perform the final "update" ... and even then it may not be completely error-free.
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41577
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla! 4 "discovers" old v3 system extensions

Post by Webdongle » Sat May 28, 2022 10:09 pm

hmmmmmmmmmm. Perhaps the migration never completed correctly. The update log will be helpful.

/administrator/logs
Last edited by Webdongle on Sat May 28, 2022 11:42 pm, edited 1 time in total.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 12074
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Joomla! 4 "discovers" old v3 system extensions

Post by sozzled » Sat May 28, 2022 10:11 pm

Yes, @Webdongle, perhaps the update log would be helpful. Would you like to advise @strudel where he can find it? :)
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
ceford
Joomla! Guru
Joomla! Guru
Posts: 823
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Joomla! 4 "discovers" old v3 system extensions

Post by ceford » Sun May 29, 2022 5:45 am

A new installation of 4.1.4 is similar to your screenshot. I think those version numbers are the Extension version numbers and not the Joomla target version number. If so, you have been chasing ghosts.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41577
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla! 4 "discovers" old v3 system extensions

Post by Webdongle » Sun May 29, 2022 8:33 am

A screen shot of the 'Discovered' result would be useful.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

strudel
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Wed May 16, 2012 4:41 pm

Re: Joomla! 4 "discovers" old v3 system extensions

Post by strudel » Thu Jun 02, 2022 12:56 am

Attached is a .zip file containing screenshots of:

1. my /administrator directory, which contains no logs. Not sure why not.
2. my "Discover" results
3. my installed "Extensions"

Goal is to clean out the "Discover" results in a non-harmful manner. If possible. Site seems stable otherwise, so I'd like to avoid having to restore from a working pre-update backup, if I can find one, and then have to do a lot of the customization for v4 over again (time I've already put in). But if it looks like going back to v3 and reattempting upgrade is the best bet, I can do it, though grudgingly.
You do not have the required permissions to view the files attached to this post.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41577
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla! 4 "discovers" old v3 system extensions

Post by Webdongle » Thu Jun 02, 2022 1:02 am

Please attach the images to your post
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Post Reply

Return to “Administration Joomla! 4.x”