Re: [Tiki-devel] Packages and Fitness Check not working

Gary Cunningham-Lee <gary_c-39LOpZwlz1/[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Hi,

At a hosted site of mine, in cPanel there's a "Metrics" heading, and 
under that there's an "Errors" icon/link that leads to a page with 
"Latest web server error log messages" (this is the Apache error log) 
and "Latest suexec error log messages". Are these what you're looking 
for? There's a doc linked to from that page at 
https://docs.cpanel.net/cpanel/metrics/errors/ . Maybe this arrangement 
is different for other versions of cPanel.

-- Gary


On 2/18/2021 7:08 PM, Michael Finko wrote:
> Hi Jonny,
>
> I found some documentation about cPanel and getting the apache error 
> log here 
> https://docs.cpanel.net/knowledge-base/cpanel-product/the-cpanel-log-files/ 
> <https://docs.cpanel.net/knowledge-base/cpanel-product/the-cpanel-log-files/> 
> so I tried this in the command line:
>
> var/log/apache2/error_log
>
> unfortunately, it says 'no such file or directory.'  I believe I 
> entered the correct path, but maybe not.  Maybe a different command 
> like is better?
>
> I also checked a feature called 'Errors' (in cPanel under 'Metrics') 
> but there was just two error messages from last October, and these 
> 'Packages' errors are more recent
>
> Did the screenshots of the command line errors when trying to install 
> Composer provide any clues?  it lists many errors there.
>
> One message that I thought odd, was listed directly in the Packages 
> GUI (Control Panel), 'a.Farkas/html5shiv is invalid, it should not 
> contain upper case characters' (and highlighted in red on the command 
> line screenshots I attached above)
>
> Thanks,
> Mike
>
>
> On Mon, Feb 15, 2021 at 12:44 PM Jonny Bradley via TikiWiki-devel 
> <[email protected] 
> <mailto:[email protected]>> wrote:
>
>
>     It seems to work on 21.x locally for me, and did on other 21.x's
>     recently, so it's probably a local setup issue for you. Can you
>     get to the apache error log? WSoD usually ends up with a clue in
>     the error log...
>
>     jb
>
>
>     > On 15 Feb 2021, at 06:04, Gary Cunningham-Lee
>     <gary_c-39LOpZwlz1/[email protected] <mailto:gary_c-39LOpZwlz1/[email protected]>> wrote:
>     >
>     > Hi,
>     >
>     > Apparently this isn't affecting trunk, as a few days ago I was
>     able to install the mPDF package on my localhost master branch
>     with no problems, and tiki-check.php works as expected.
>     >
>     > -- Gary
>     >
>     > On 2/15/2021 11:14 AM, Torsten Fabricius via TikiWiki-devel wrote:
>     >> Hi Devs,
>     >>
>     >> I am starting to get back into Tiki work (I am not a coder) and
>     currently I am on a shared host with mariadb and without shell access.
>     >> So currently I have to download Tiki and to install manually. I
>     typically use the latest Tiki in this case.
>     >>
>     >> It is 1 month now since I did read about the problems with
>     Packages the first time recently I did install a few Tiki 21.4 on
>     my host to start with a few little projects.
>     >> At the point when I start the Packages feature to get any of
>     the cool features like mpdf or other, I get the WSOD blank page
>     and cannot continue with that part ... very sad.
>     >>
>     >> As far as I understand, the problem occurs in several Tiki
>     versions and in several if not all server setups, so I think this
>     is kind of a severe problem.
>     >> First thing:
>     >> Many thanks to everybody who is contributing to solve the problem.
>     >> Second:
>     >> What can I do as a non-coder with literally no financial budget
>     to help solving the problem?
>     >> Third:
>     >> Is it a problem with original Tiki code, or is it a Composer
>     problem? Does it occur on all servers or just under specific
>     conditions?
>     >>
>     >> Best regards,
>     >> Torsten
>     >>
>     >>
>     >>
>     >> Am 14.01.21 um 11:32 schrieb Michael Finko:
>     >>> 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
>     <http://agilitynocode.com/lib/core/Tiki/Package/ComposerCli.php:213>
>     Stack trace: #0
>     /home/mike7137/agilitynocode.com/lib/core/Tiki/Package/ComposerCli.php(297)
>     <http://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)
>     <http://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)
>     <http://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)
>     <http://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)
>     <http://agilitynocode.com/lib/core/Tiki/Package/ComposerManager.php(141)>:
>     Tiki\Package\ComposerCli->getListOfPackagesFromConfig() #5
>     /home/mike7137/agilitynocode.com/tiki-check.php(1832)
>     <http://agilitynocode.com/tiki-check.php(1832)>:
>     Tiki\Package\ComposerManager->getInstalled() #6 {main} thrown in
>     /home/mike7137/agilitynocode.com/lib/core/Tiki/Package/ComposerCli.php
>     <http://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 list
>     >>>
>     >>> [email protected]
>     <mailto:[email protected]>
>     >>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>     <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>
>     >>
>     >>
>     >>
>     >>
>     >> _______________________________________________
>     >> TikiWiki-devel mailing list
>     >>
>     >> [email protected]
>     <mailto:[email protected]>
>     >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>     <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>
>     > _______________________________________________
>     > TikiWiki-devel mailing list
>     > [email protected]
>     <mailto:[email protected]>
>     > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>     <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>
>
>
>
>     _______________________________________________
>     TikiWiki-devel mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>     <https://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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.