Package Manager shows mods Not installed

Started by Burke ♞ Knight, June 02, 2013, 07:27:59 PM

Previous topic - Next topic

Burke ♞ Knight

I moved my whole site, including domain to a new server. However, after doing so, Package Manager shows mods Not installed, yet they are and the site is working great. I even installed 2 more mods with no problem.

My question is, how can I get it to say the mods are installed?

http://www.bkmodding.com
SMF 2.0.4

TheListener

Are the mods compatible with your forum?

ie not RCs or previous versions?

:)

Burke ♞ Knight

Yes.
Was showing installed before the move, now they show show that they are not.
Yet, they are and like I said, working fine. I just don't know why Package Manager shows that.

Burke ♞ Knight

1. This topic used to have the solution, but seems to have been deleted.

2. I just upgraded a 2.0.6 to 2.0.7 then to 2.0.8 and have this issue again.
I'd like to know what to do, to get the packages to show as installed again, since they clearly are, and are working fine....LOL

Sir Osis of Liver

You can go into smf_log_packages and set install_state to '1' if it's '0', but would feel better knowing what caused this problem before doing any tinkering.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Burke ♞ Knight

smf_log_packages only shows the 2 update packages.
So, this means the rest got deleted during the update to 2.0.7 and not the update to 2.0.8

Sir Osis of Liver

If they're not in smf_log_packages, you should be able to reinstall them.  They shouldn't be listed in package manager.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Burke ♞ Knight

1. They are listed in package manager as not installed.
2. They are installed, and all mods are working fine.
3. I had this issue before, which is why I revived this old topic, yet the solution seems to have been deleted.

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Burke ♞ Knight

Quote from: BurkeKnight on June 30, 2014, 10:43:07 PM
smf_log_packages only shows the 2 update packages.

The rest do not show up in the database anymore.
So, there is no install_state for them.

Sir Osis of Liver

Yes, you did say that.  Hmm.... only way you can get them back in the db so they show installed is to reinstall them.  Don't know what happens if you install a mod on top of itself, you may end up with duplicate code in the edited files.  I believe there's a tool that fixes some of these package problems, but don't know what it's called or where it is.  IIRC, Illori posted a link to it recently.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Burke ♞ Knight

When install mods on top of themselves, they cause MAJOR problems.
As support specialist, this is NOT what one would recommend. ;)

And yes, she did... HERE.... That's the post that seems to be missing....LOL


EDIT: fix_packages.php

I tried that, and they wont even show up in uninstalled list.

Bob Perry of Web Presence Consulting

Quote from: BurkeKnight on July 01, 2014, 12:04:22 AM
When install mods on top of themselves, they cause MAJOR problems.
As support specialist, this is NOT what one would recommend. ;)

And yes, she did... HERE.... That's the post that seems to be missing....LOL


EDIT: fix_packages.php

I tried that, and they wont even show up in uninstalled list.

Having quickly scanned through this thread, if you still have access to the previous server's database files, you can try re-downloading the old smf_log_packages table and reload the one on the current server? just guessing...
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Burke ♞ Knight

This is from almost a year ago, was in backup.
However, I checked in there, and even that one seems to be wrong.
Yest, before I did the updates, I was in package manager, and saw them all listed as installed.

This is getting strange....LOL

Sir Osis of Liver

Quote from: BurkeKnight on July 01, 2014, 12:04:22 AM
As support specialist, this is NOT what one would recommend. ;)

Just thinking out loud (old guys do that).

If you think that was a bad idea, how about this one:

Set up a scratch 2.0.8 install, install all the mods that are installed on your production forum, export smf_log_packages from the scratch install, import it to the production forum.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Burke ♞ Knight

Think that one is bad?

Try this one on for size....

Upload and extract the full 2.0.8 upgrade, and reset the forum that way.
Then, install all mods, but not into custom themes, since they already have the edits done...

That is what I am doing now, and almost back to where should be....LOL

Bob Perry of Web Presence Consulting

Quote from: Krash on July 01, 2014, 12:46:35 AM
Quote from: BurkeKnight on July 01, 2014, 12:04:22 AM
As support specialist, this is NOT what one would recommend. ;)

Just thinking out loud (old guys do that).

If you think that was a bad idea, how about this one:

Set up a scratch 2.0.8 install, install all the mods that are installed on your production forum, export smf_log_packages from the scratch install, import it to the production forum.



Very good, that should work like a charm, us old guys do indeed try thinking now and then (grin)

Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Burke ♞ Knight

However, I'd have had to do from 2.0.5 to 2.0.6 to 2.0.7 to 2.0.8 in order for that to work.
Before that site went into mothballs, it was 2.0.5 upgraded to 2.0.6 via package manager.

So, in the end, doing it the way I did, was less time consuming.
Also, I had very modded custom theme, and trying to redo that, would have been killer if needed....LOL

Bob Perry of Web Presence Consulting

Quote from: BurkeKnight on July 01, 2014, 12:57:13 AM
However, I'd have had to do from 2.0.5 to 2.0.6 to 2.0.7 to 2.0.8 in order for that to work.
Before that site went into mothballs, it was 2.0.5 upgraded to 2.0.6 via package manager.

So, in the end, doing it the way I did, was less time consuming.
Also, I had very modded custom theme, and trying to redo that, would have been killer if needed....LOL

I heard that man, mine is so riddled with my own customizing I shudder to think about changing servers, GoDaddy has served me well so why re-invent the wheel (now watch all the GoDaddy bashers chime in, lol)...

you ought to change ot icon to resolved...

Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Burke ♞ Knight

I didn't change servers this time.
Just had closed the site down, and decided to try to reopen it.

Advertisement: