Something caused most of my installed packages to appear uninstalled
January 19, 2016, 12:00:52 am
Some time in a migration process, the installed status for three of the four packages I have installed in our forum became "uninstalled". They're still applied, but the system thinks they're not. Is the installation somehow tied to the file modification times?
Re: Something caused most of my installed packages to appear uninstalled
Reply #2 – January 20, 2016, 01:25:36 am
It seems the install log got wiped by Open Importer when I imported the final forum database into ElkArte.
Re: Something caused most of my installed packages to appear uninstalled
Reply #3 – January 20, 2016, 02:59:15 am
emanuele
Global Moderator
Install log is not imported because any SMF mod installed would not work in Elk and it would be "uninstalled" anyway. It's one of those information table that are not ported because are basically "system-specific" and are not particularly relevant in the new system. But the question I'd have is: what kind of migration process did you do?
Re: Something caused most of my installed packages to appear uninstalled
Reply #4 – January 20, 2016, 04:10:00 am
It wasn't the SMF install log. I installed the mods onto ElkArte after importing into it once, then imported into it a second time.
Re: Something caused most of my installed packages to appear uninstalled
Reply #5 – January 20, 2016, 05:49:13 am
emanuele
Global Moderator
Ahhh, okay, that makes sense now. The way the importer is thought is to make the imported forum as much "clean" as possible, so most (if not all) of the logs are wiped. It should be possible, during the import, to specify not to take some of the steps, disabling the log_installed (if present) should "fix" this behaviour.
Re: Something caused most of my installed packages to appear uninstalled
Reply #6 – March 23, 2016, 07:07:33 pm
emanuele
Global Moderator
Also, considering how addons will be handled in the future, this will become less important. Actually, that reminds me that starting from... 2.0 for example (or maybe later), the role of the package manager should become more like an unzipper: unpack the code of the addon in a directory and let the addon through integrations take care of everything else. That would mean 1) the log will lose its role of tracking of the installed state, it will be just a log of "when" the addon was unpacked and 2) as a consequence of 1, it may be necessary another log to track activation/deactivation of addons.