Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: Re: Re: [epf-dev] Epf wiki header

Hi Onno,

It seems to be working! I'll test other things and tell if something goes wrong.

Thanks for the help,

Anderson da Rocha Lemos
STDPD - Divisão de Processo de Desenvolvimento (BHE)
#31 6813
Serpro

Em 25/08/2010 às 04:07 horas, epf-dev@xxxxxxxxxxx escreveu:
Hi Anderson,
I can't reproduce this problem on a clean Ubuntu 10.04 installation. When I follow the installation guide I end up with a working EPF Wiki installation.

I did find some issues though.

Webrick didn't work for me. This not an essential step, it is optional test step in the installation proces. After a few succesfull requests Webrick returns an internal server error. In the console I see the following message NoMethodError: private method `gsub!' called for #.

As a workaround I used mongrel for this 'test step'
sudo gem install mongrel
export RAILS_ENV=production
ruby script/server mongrel

After that I was able to complete the installation steps but I have to admit that the guide is a bit incomplete and unclear at certain points. Not clearly described is
  • edit of /etc/apache2/ports.conf. I added the 3000 port after the 80 port
    NameVirtualHost *:80
    Listen 80
    NameVirtualHost *:3000
    Listen 3000
  • Apache configuration depends on Passenger version of course, you can check what you installed with passenger-config --root. This returns in my case /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15. The example in guide uses 2.2.4, you have to change the Apache configuration to match your version of course.
  • I had to enable rewrite module so I created a link /etc/apache2/mods-aviailable/rewrite.load that points to /etc/apache2/mods-enabled/rewrite.load
After Apache restart things seem to be okay. I accessed the default 'templates' wiki. The header was working. I was able to edit a page.

If there are no errors in production.log, can you check Apache log for errors var/log/apache2/ for errors? Typically there are no permission problems with Passenger as it will run as the owner of enviroment.rb.

HTH,
Onno


On Fri, Aug 20, 2010 at 8:54 PM, Anderson da Rocha Lemos <anderson.lemos@xxxxxxxxxxxxx> wrote:
Hi Onno,

Yes, the problem is the same for all pages. I did not find any relevant information in log files (only publishing information). I've used firebug and discovered that the problem happens in wiki.js when an Ajax request is done. In the first time, when there is nothing in pages/view, the request returns with the wiki header. In the second time, when the header is recorded in a file,  it seems that there is no return.




 
Thanks,

Anderson da Rocha Lemos
STDPD - Divisão de Processo de Desenvolvimento (BHE)
#31 6813
Serpro

Em 18/08/2010 às 15:24 horas, epf-dev@xxxxxxxxxxx escreveu:
Hi,
You can use this forum for questions about EPF Wiki.

I can help you with the installation. Is this problem the same for all pages? That it only works the first time? Can you check the log file to see if there is more information. If you refresh the page, is request logged in that file? Can you share any error messages? If the log file does not have any information, it could maybe be a problem in the browser/client. If you are using FireFox and if you are familiar with FireBug, could you check for any javascrip errors?

Best Regards,
Onno




On Tue, Aug 17, 2010 at 1:58 PM, Anderson da Rocha Lemos <anderson.lemos@xxxxxxxxxxxxx> wrote:
Hi,

I'm trying to install epf wiki using the installation guide http://wiki.eclipse.org/EPF_Wiki_Installation_Guide_for_Ubuntu on Ubuntu 8.04. I followed all the steps and published my site, but when i entered for the second time in a page the epfwiki header did not appear. The page showed only the busy gif. I've already revised the folders' permissions and they are ok. Can anyone help me with this problem ? I don't know if it is the right forum for this kind of question but i didn't find any other one.

Thanks,

Anderson da Rocha Lemos
STDPD - Divisão de Processo de Desenvolvimento (BHE)
#31 6813
Serpro


"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada exclusivamente a seu destinatário e pode conter informações confidenciais, protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."

"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a government company established under Brazilian law (5.615/70) -- is directed exclusively to its addressee and may contain confidential data, protected under professional secrecy rules. Its unauthorized use is illegal and may subject the transgressor to the law's penalties. If you're not the addressee, please send it back, elucidating the failure."

_______________________________________________
epf-dev mailing list
epf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/epf-dev




"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada exclusivamente a seu destinatário e pode conter informações confidenciais, protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."

"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a government company established under Brazilian law (5.615/70) -- is directed exclusively to its addressee and may contain confidential data, protected under professional secrecy rules. Its unauthorized use is illegal and may subject the transgressor to the law's penalties. If you're not the addressee, please send it back, elucidating the failure."

_______________________________________________
epf-dev mailing list
epf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/epf-dev




"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada exclusivamente a seu destinatário e pode conter informações confidenciais, protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."

"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a government company established under Brazilian law (5.615/70) -- is directed exclusively to its addressee and may contain confidential data, protected under professional secrecy rules. Its unauthorized use is illegal and may subject the transgressor to the law's penalties. If you're not the addressee, please send it back, elucidating the failure."

Back to the top