Problemas na instalação do bugzilla no Ubuntu 15.04

Problemas na instalação do bugzilla no Ubuntu 15.04

Estou tentando instalar o Bugzilla.

Eu Phpmyadmininstalei no meu sistema então não consigo seguir oinstruçõesno site do Bugzilla que me diz para remover a /var/www/htmlpasta porque eu a tenho Phpmyadminlá.

Além disso, vi as instruções aqui noaskubuntu, mas não quero criar outros usuários em minha máquina e quero instalar o Bugzilla para meu usuário padrão porque sou o único que usa esta máquina.

Aqui estão os passos que segui:

sudo su
apt-get install git nano
apt-get install apache2 mysql-server libappconfig-perl libdate-calc-perl libtemplate-perl libmime-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-sender-perl libemail-mime-perl libemail-mime-modifier-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl libmath-random-isaac-perl libmath-random-isaac-xs-perl apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-perl2-dev libchart-perl libxml-perl libxml-twig-perl perlmagick libgd-graph-perl libtemplate-plugin-gd-perl libsoap-lite-perl libhtml-scrubber-perl libjson-rpc-perl libdaemon-generic-perl libtheschwartz-perl libtest-taint-perl libauthen-radius-perl libfile-slurp-perl libencode-detect-perl libmodule-build-perl libnet-ldap-perl libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl libhtml-formattext-withlinks-perl libgd-dev lynx-cur python-sphinx
cd /var/www/html
git clone --branch release-5.0-stable https://git.mozilla.org/bugzilla/bugzilla bugzilla
cd bugzilla
gedit /etc/mysql/my.cnf`

Alterado na Linha 52:max_allowed_packet=100M

Adicionado como nova linha 31, na [mysqld]seção:ft_min_word_len=2

mysql -u root -p -e "GRANT ALL PRIVILEGES ON bugs.* TO bugs@localhost IDENTIFIED BY '$my_pass'"
service mysql restart
gedit /etc/apache2/sites-available/bugzilla.conf`

Adicionado:

ServerName localhost
<Directory /var/www/html>
  AddHandler cgi-script .cgi
  Options +ExecCGI
  DirectoryIndex index.cgi index.html
  AllowOverride Limit FileInfo Indexes Options
</Directory>

Então:

a2ensite bugzilla
a2enmod cgi headers expires
service apache2 restart
cd /var/www/html/bugzilla
./checksetup.pl

Isso me deu alguns erros, então eu executo:

/usr/bin/perl install-module.pl –all
./checksetup.pl
gedit localconfig

Linha 29: definida $webservergroupcomowww-data

Linha 67: defina $db_passa senha do usuário bugs que criei no MySQL alguns passos atrás

./checksetup.pl (again)
./testserver.pl http://localhost/

E então recebo este erro:

strictures.pm extra testing active but couldn't load all modules. Missing were:

  indirect multidimensional bareword::filehandles

Extra testing is auto-enabled in checkouts only, so if you're the author
of a strictures-using module you need to run:

  cpan indirect multidimensional bareword::filehandles

but these modules are not required by your users.
TEST-OK Webserver is running under group id in $webservergroup.
TEST-FAILED Fetch of images/padlock.png failed
Your web server could not fetch http://localhost/images/padlock.png.
Check your web server configuration and try again.

Então, o que eu fiz de errado?

Como você pode ver eu gostaria de instalar /var/www/html/a pasta Bugzilla onde também tenho, Phpmyadminentão terei: /var/www/html/bugzilla.

Obrigado.

Editar: depois de executar: cpan indirect multidimensional bareword::filehandleso problema ainda é:

TEST-OK Webserver is running under group id in $webservergroup.
TEST-FAILED Fetch of images/padlock.png failed
Your web server could not fetch http://localhost/images/padlock.png.
Check your web server configuration and try again.

Editar 2:

Ok, a única coisa que encontrei nos apache2logs é /var/log/other_vhosts_access.log:

localhost:80 127.0.0.1 - - [27/Jul/2015:10:29:06 +0200] "GET /images/padlock.png HTTP/1.1" 404 469 "-" "libwww-perl/6.05"

e /var/log/error.log:

[Mon Jul 27 10:14:38.112755 2015] [mpm_prefork:notice] [pid 7477] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Mon Jul 27 10:14:38.112794 2015] [core:notice] [pid 7477] AH00094: Command line: '/usr/sbin/apache2'

Responder1

Estou tendo o mesmo problema com Ubuntu 14.04, Apache 2.4.7, bugzilla 5.0. Também deseja definir comohttp://localhost/bugzilla.

O truque era pensar... Sim, simplesmente.

Você executou:

./testserver.pl http://localhost

quando na verdade você deveria ter usado

./testserver.pl http://localhost/bugzilla

já que ele precisa de sua localização como entrada (sim, muito idiota).

Responder2

Para mim (Linux Mint 17.2; Bugzilla 5.0.1, Apache 2.4.7) isso ajudou (finalmente, depois de tentar muitas outras coisas):

Alterado AllowOverride Limit FileInfo Indexes OptionsparaAllowOverride All

Responder3

Eu estou experimentando o mesmo problema. O problema para mim AllowOverridetambém estava relacionado ao cenário. Isso está no arquivo /etc/apache2/sites-enabled/000-default.confe foi definido como o seguinte:

<VirtualHost *:80>
  <"Directory /var/www/html/bugzilla>
    AddHandler cgi-script cgi
    DirectoryIndex index.cgi
    Options +Indexes +ExecDGI +FollowSymLinks +MultiViews
    AllowOverride Limit
    Order Allow,deny
    Allow from all
  <Directory>
<VirtualHost>

A linha AllowOverridefoi alterada para ler:

AllowOverride None

O arquivo /etc/apache2/sites-enabled/bugzilla.confpossui a seguinte entrada de diretório:

<Directory /var/www/html>
    AddHandler cgi-script .cgi
    Options +ExecCGI +FollowSymLinks
    DirecortryIndex index.cgi index.html
    AllowOverride All
</Directory>

Isso resolveu o problema para mim.

informação relacionada