Re: [Tiki-devel] Packages and Fitness Check not working
Michael Finko <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <CAJ0jaKdsmNzSqmS+JFMO_oZLjn8KkXTtxt+LjiS6DtzL3dSorA@mail.gmail.com> |
Hi Victor, I forgot - this is line 213 where the 'error' is: $process->inheritEnvironmentVariables(); On Sat, Feb 13, 2021 at 3:28 PM Michael Finko <[email protected]> wrote: > Hi Victor, > > I finally got around to upgrading to 21.3, I thought this would solve my > Composer problems (which causes Server Fitness Check to crash) but no > change, I still get the same white screen and error message. > > Maybe I can go in to my shared hosting File Manager and just manually > delete all the 'ComposerCLI..php' file that is causing problems in: > *.../agilitynocode.com/lib/core/Tiki/Package/ComposerCli.php > <http://agilitynocode.com/lib/core/Tiki/Package/ComposerCli.php>* on line > *213* > > or, better yet, maybe delete all the files with the name 'Composer' in > them? > [image: Screenshot from 2021-02-13 15-21-37.png] > > looks like 4 files with 'Composer' in the name. I won't be using > 'Composer', it's too fragile and too much of a time waster for me. > > Maybe also go into the 'Vendor' and Vendor bundled' folders and also > manually delete anything with 'Composer' in the name? > > I can't turn off 'Packages' via Control Panel because it also ends in the > same white screen fatal error. > > Thanks, > Mike > > > > > > > > On Fri, Jan 15, 2021 at 11:11 AM Victor Emanouilov via TikiWiki-devel < > [email protected]> wrote: > >> Mike, did you manage to work around the problem? >> >> This sounds like a composer version mismatch to me... but more debugging >> is needed here. Maybe Ricardo and team know more. Until then, I'd use >> composer from the command line to install necessary packages. >> >> Regards, >> Victor >> On 1/14/21 12:32 PM, Michael Finko wrote: >> >> Hi devs, >> >> So I touched 'Packages' (big mistake) because it was saying problems >> with 3 of the installed packages (mPDF, Diagrams and one more, maybe >> Faker), now I can't access 'Packages' via the Control Panel (blank white >> screen). Before that happened, I pushed all the available buttons like >> Diagnose and Re-install Composer. Tried uninstalling mPDF and reinstalling >> - uninstall worked but didn't get to reinstall before Packages completely >> stopped working. >> >> Also when i run the Fitness Check, I get a blank white screen with this >> error message: >> >> Fatal error: Uncaught Error: Call to undefined method >> Symfony\Component\Process\Process::inheritEnvironmentVariables() in >> /home/mike7137/ >> agilitynocode.com/lib/core/Tiki/Package/ComposerCli.php:213 Stack trace: >> #0 /home/mike7137/ >> agilitynocode.com/lib/core/Tiki/Package/ComposerCli.php(297): >> Tiki\Package\ComposerCli->getPhpPath() #1 /home/mike7137/ >> agilitynocode.com/lib/core/Tiki/Package/ComposerCli.php(260): >> Tiki\Package\ComposerCli->execComposer(Array) #2 /home/mike7137/ >> agilitynocode.com/lib/core/Tiki/Package/ComposerCli.php(340): >> Tiki\Package\ComposerCli->canExecuteComposer() #3 /home/mike7137/ >> agilitynocode.com/lib/core/Tiki/Package/ComposerCli.php(387): >> Tiki\Package\ComposerCli->execShow() #4 /home/mike7137/ >> agilitynocode.com/lib/core/Tiki/Package/ComposerManager.php(141): >> Tiki\Package\ComposerCli->getListOfPackagesFromConfig() #5 /home/mike7137/ >> agilitynocode.com/tiki-check.php(1832): >> Tiki\Package\ComposerManager->getInstalled() #6 {main} thrown in >> /home/mike7137/agilitynocode.com/lib/core/Tiki/Package/ComposerCli.php >> on line 213 >> >> I'll run the Tiki installer to see if that helps - just frankly, am very >> scared as I have about 95% of my presentation done for FOSDEM (all on wiki >> pages) and am ready to start recording because it needs to be submitted by >> tomorrow, so very little time for recording, let alone diagnosing all kinds >> of issues that could come up... >> >> I would have liked to speak positively about both Tiki Server Fitness >> check and Packages, but honestly, since Tiki 18, they have always been >> problematic for me, as a non-server specialist. Though, since 'Packages' >> is such a complex and fragile 'beast' (like Elastic) it's understandable - >> however, the big difference is that I can choose to run 'MySQL Full Text >> Search vs. Elastic' but I don't have the same option with Packages, and >> mPDF and Diagrams are there, two very important features (well, at least >> mPDF, as I can still use Draw.io). >> >> I'm definitely looking forward to Brendan's improvements to the Server >> Fitness check (keep in mind both VPS and Shared Hosting and stability >> issues, please). Is anyone working on making 'Packages' more stable (for >> Shared Hosting)? >> >> Wish me luck! 🙂 >> Mike >> >> >> _______________________________________________ >> TikiWiki-devel mailing listTikiWiki-devel-5NWGOfrQmneRv+LV9MX5ugtCRVl27V+i0wdF1cv0I5s@public.gmane.org://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >> >> _______________________________________________ >> TikiWiki-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >> > _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
Screenshot from 2021-02-13 15-21-37.png
(image/png, 18.4 KB) - not displayed