Closed Bug 1833046 Opened 2 years ago Closed 2 years ago

The ./data/params.json file does not exist. You probably need to run checksetup.pl. at Bugzilla/Config.pm line 341.

Categories

(Bugzilla :: Bugzilla-General, defect)

5.0.6
Desktop
Windows 11
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: tahir.javaid, Unassigned)

Details

Steps to reproduce:

I did the below installation:

Strawberry perl installation on windows. (https://strawberryperl.com/)
strawberry-perl-5.32.1.1-64bit.msi

IIS installation and Configuration and files handler configurations within IIS.
MYSQL DB configurations.

Now at the end ; this issue is arising. please let me know how to resolve

Software error:
The ./data/params.json file does not exist. You probably need to run checksetup.pl. at Bugzilla/Config.pm line 341.
Compilation failed in require at C:\bugzilla\index.cgi line 15.
BEGIN failed--compilation aborted at C:\bugzilla\index.cgi line 15.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

[Sun May 14 20:13:24 2023] index.cgi: The ./data/params.json file does not exist. You probably need to run checksetup.pl. at Bugzilla/Config.pm line 341. [Sun May 14 20:13:24 2023] index.cgi: Compilation failed in require at C:\bugzilla\index.cgi line 15. [Sun May 14 20:13:24 2023] index.cgi: BEGIN failed--compilation aborted at C:\bugzilla\index.cgi line 15.
while browsing it's giving me issues like ./data param.json file doesn't exist.

Actual results:

while compiling .checksetup.pl file, it's showing nothing wrong
PS C:\bugzilla> perl checksetup.pl

  • This is Bugzilla 5.0.6 on perl 5.32.1
  • Running on Win10 Build 22621

Checking perl modules...
Checking for CGI.pm (v3.51) ok: found v4.51
Checking for Digest-SHA (any) ok: found v6.02
Checking for TimeDate (v2.23) ok: found v2.24
Checking for DateTime (v0.75) ok: found v1.54
Checking for DateTime-TimeZone (v1.64) ok: found v2.46
Checking for DBI (v1.614) ok: found v1.643
Checking for Template-Toolkit (v2.24) ok: found v3.009
Checking for Email-Sender (v1.300011) ok: found v1.300035
Checking for Email-MIME (v1.904) ok: found v1.949
Checking for URI (v1.55) ok: found v5.06
Checking for List-MoreUtils (v0.32) ok: found v0.430
Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004
Checking for JSON-XS (v2.01) ok: found v4.03
Checking for Win32 (v0.35) ok: found v0.54
Checking for Win32-API (v0.55) ok: found v0.84
Checking for DateTime-TimeZone-Local-Win32 (v1.64) ok: found v2.04

Checking available perl DBD modules...
Checking for DBD-Pg (v2.7.0) ok: found v3.8.0
Checking for DBD-SQLite (v1.29) ok: found v1.66
Checking for DBD-mysql (v4.001) ok: found v4.050
Checking for DBD-Oracle (v1.19) ok: found v1.80

The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.73
Checking for Chart (v2.4.1) ok: found vv2.403.9
Checking for Template-GD (any) ok: found v1.56
Checking for GDTextUtil (any) ok: found v0.86
Checking for GDGraph (any) ok: found v1.56
Checking for MIME-tools (v5.406) ok: found v5.510
Checking for libwww-perl (any) ok: found v6.52
Checking for XML-Twig (any) ok: found v3.52
Checking for PatchReader (v0.9.6) ok: found v0.9.6
Checking for perl-ldap (any) not found
Checking for Authen-SASL (any) ok: found v2.16
Checking for Net-SMTP-SSL (v1.01) ok: found v1.04
Checking for RadiusPerl (any) ok: found v0.32
Checking for SOAP-Lite (v0.712) ok: found v1.27
Checking for XMLRPC-Lite (v0.712) ok: found v0.717
Checking for JSON-RPC (any) ok: found v1.06
Checking for Test-Taint (v1.06) ok: found v1.08
Checking for HTML-Parser (v3.67) ok: found v3.75
Checking for HTML-Scrubber (any) ok: found v0.19
Checking for Encode (v2.21) ok: found v3.08
Checking for Encode-Detect (any) ok: found v1.01
Checking for Email-Reply (any) ok: found v1.204
Checking for HTML-FormatText-WithLinks (v0.13) ok: found v0.15
Checking for TheSchwartz (v1.07) ok: found v1.17
Checking for Daemon-Generic (any) ok: found v0.85
Checking for mod_perl (v1.999022) not found
Checking for Apache-SizeLimit (v0.96) not found
Checking for File-MimeInfo (any) ok: found v0.33
Checking for IO-stringy (any) ok: found v2.113
Checking for Cache-Memcached (any) ok: found v1.30
Checking for File-Copy-Recursive (any) ok: found v0.45
Checking for File-Which (any) ok: found v1.23


  • OPTIONAL MODULES *

  • Certain Perl modules are not required by Bugzilla, but by *
  • installing the latest version you gain access to additional *
  • features. *
  •                                                                 *
    
  • The optional modules you do not have installed are listed below, *
  • with the name of the feature they enable. Below that table are the *
  • commands to install each module. *

  •  MODULE NAME * ENABLES FEATURE(S)                               *
    

  •    perl-ldap * LDAP Authentication                              *
    
  •     mod_perl * mod_perl                                         *
    
  • Apache-SizeLimit * mod_perl *

COMMANDS TO INSTALL OPTIONAL MODULES:

  perl-ldap: C:\Strawberry\perl\bin\perl.exe install-module.pl Net::LDAP
   mod_perl: C:\Strawberry\perl\bin\perl.exe install-module.pl mod_perl2

Apache-SizeLimit: C:\Strawberry\perl\bin\perl.exe install-module.pl Apache2::SizeLimit

To attempt an automatic install of every required and optional module
with one command, do:

C:\Strawberry\perl\bin\perl.exe install-module.pl --all

Reading ./localconfig...

OPTIONAL NOTE: If you want to be able to use the 'difference between two
patches' feature of Bugzilla (which requires the PatchReader Perl module
as well), you should install patchutils from:

http://cyberelk.net/tim/software/patchutils/

Checking for DBD-mysql (v4.001) ok: found v4.050
There was an error connecting to MySQL:

Authentication plugin 'sha256_password' reported error: Authentication requires SSL encryption

This might have several reasons:

  • MySQL is not running.
  • MySQL is running, but there is a problem either in the
    server configuration or the database access rights. Read the Bugzilla
    Guide in the doc directory. The section about database configuration
    should help.
  • Your password for the 'Root' user, specified in $db_pass, is
    incorrect, in './localconfig'.
  • There is a subtle problem with Perl, DBI, or MySQL. Make
    sure all settings in './localconfig' are correct. If all else fails, set
    '$db_check' to 0.

Expected results:
Bugzilla should be compiled and GUI should have been opened.

Flags: needinfo?(default-qa)

This is a support issue, not a bug. Please see https://bugzilla.org/support/ for places to get help.

But I can see from your output that it's failing to connect to MySQL to set up the database. You need to resolve that problem first. If you're not sure how from the hints given, then the support folks should be able to help with that.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Flags: needinfo?(default-qa)
You need to log in before you can comment on or make changes to this bug.