Re: [Trac] Re: Deploy trac with error

2023-11-11 Thread MARCOS GONÇALVES TEIXEIRA
Getting it, it worked! Thank you for your patience and availability! Em sábado, 11 de novembro de 2023 às 14:55:38 UTC-3, MARCOS GONÇALVES TEIXEIRA escreveu: > > delivery@deli:~$ a2query -s > trac (enabled by site administrator) > delivery@deli:~$ sudo a2dissite 000-default > Site 000-default

Re: [Trac] Re: Deploy trac with error

2023-11-11 Thread MARCOS GONÇALVES TEIXEIRA
delivery@deli:~$ a2query -s trac (enabled by site administrator) delivery@deli:~$ sudo a2dissite 000-default Site 000-default already disabled delivery@deli:~$ cat /etc/apache2/sites-available/trac.conf ServerAdmin trac@localhost DocumentRoot /var/trac Alias /

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread Jun Omae
Check enabled sites in Apache using "a2query -s" command. If 000-default is still enabled, try to disable it or add "ServerName server-name" to in trac.conf and access with the server name. On Sat, Nov 11, 2023 at 12:40 PM MARCOS GONÇALVES TEIXEIRA wrote: > > Ok, after adjusts: >

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread MARCOS GONÇALVES TEIXEIRA
Ok, after adjusts: delivery@deli:~$ cat /var/www/trac/cgi-bin/trac.wsgi #!/usr/bin/python3 # -*- coding: utf-8 -*- # # Copyright (C) 2008-2023 Edgewall Software # Copyright (C) 2008 Noah Kantrowitz # All rights reserved. # # This software is licensed as described in the file COPYING, which # you

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread Jun Omae
On Sat, Nov 11, 2023 at 11:31 AM MARCOS GONÇALVES TEIXEIRA wrote: > trac.wsgi: > #!/usr/bin/python3 > > > # Author: Noah Kantrowitz > import os > import sys > sys.path.insert(0, '/usr/local/venv/trac') > os.environ['TRAC_ENV'] = '/usr/local/venv/trac' > > from trac.web.main import

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread MARCOS GONÇALVES TEIXEIRA
hasn't done it yet... First: delivery@deli:/var$ sudo chmod 777 /usr/local/venv/trac/bin/trac-admin delivery@deli:/var$ /usr/local/venv/trac/bin/trac-admin /var/trac initenv Creating a new Trac environment at /var/trac ... delivery@deli:/var/trac$ dir README VERSION conf htdocs log plugins

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread Jun Omae
> 1. Uninstall Trac in $HOME/.local > > pip uninstall -y Trac Jinja2 > > 2. Create venv and install Trac to the venv > > sudo python3 -m venv /usr/local/venv/trac > sudo /usr/local/venv/trac/bin/pip install Trac > > 3. Create Trac Environment > > sudo /usr/local/venv/trac/bin/trac-admin /var/trac

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread Jun Omae
On Sat, Nov 11, 2023 at 3:23 AM MARCOS GONÇALVES TEIXEIRA wrote: > > deli@vm-delivery:/$ pip show trac > Name: Trac > Version: 1.6 > Summary: Integrated SCM, wiki, issue tracker and project environment > Home-page: https://trac.edgewall.org > Author: Edgewall Software > Author-email:

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread MARCOS GONÇALVES TEIXEIRA
deli@vm-delivery:~$ pip list -v PackageVersion Location Installer Babel 2.8.0/usr/lib/python3/dist-packages Jinja2 3.1.2 /home/deli/.local/lib/python3.10/site-packages pip

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread Ryan Ollos
On Fri, Nov 10, 2023 at 10:23 AM MARCOS GONÇALVES TEIXEIRA < marcosar...@gmail.com> wrote: > deli@vm-delivery:/$ pip show trac > Name: Trac > Version: 1.6 > Summary: Integrated SCM, wiki, issue tracker and project environment > Home-page: https://trac.edgewall.org > Author: Edgewall Software >

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread MARCOS GONÇALVES TEIXEIRA
deli@vm-delivery:/$ pip show trac Name: Trac Version: 1.6 Summary: Integrated SCM, wiki, issue tracker and project environment Home-page: https://trac.edgewall.org Author: Edgewall Software Author-email: trac-...@googlegroups.com License: BSD Location:

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread MARCOS GONÇALVES TEIXEIRA
I don't know exactly where it was installed, I used the command: pip install Trac Em sexta-feira, 10 de novembro de 2023 às 12:52:38 UTC-3, Jun Omae escreveu: > WSGIDaemonProcess trac python-home= display-name=%{GROUP} > > should be > > WSGIDaemonProcess trac python-home=/home/deli/trac

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread Jun Omae
WSGIDaemonProcess trac python-home= display-name=%{GROUP} should be WSGIDaemonProcess trac python-home=/home/deli/trac display-name=%{GROUP} Also, I've asked but no answer: > Where is directory you've install Trac to? How have you installed?. On Sat, Nov 11, 2023 at 12:45 AM MARCOS GONÇALVES

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread MARCOS GONÇALVES TEIXEIRA
this installed in Ubuntu server 22 LTS directory: /home/deli/trac deploy /var/www/trac erro: [Fri Nov 10 14:35:49.887597 2023] [wsgi:warn] [pid 21333:tid 140020309247872] (2)No such file or directory: mod_wsgi (pid=21333): Unable to stat Python home . Python interpreter may not be able to be

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread Jun Omae
On Fri, Nov 10, 2023 at 10:30 PM Jun Omae wrote: > "ModuleNotFoundError: No module named 'trac'" is logged. So that mod-wsgi > cannot find Trac. If you haven't install to standard directory, the installed > location should be configured using mod-wsgi directives in apache > configuration > file.

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread Jun Omae
On 2023/11/10 22:04, MARCOS GONÇALVES TEIXEIRA wrote: > erro in apache: > [Fri Nov 10 12:58:35.740842 2023] [wsgi:error] [pid 15986:tid > 140462495180352] [client myIP] mod_wsgi (pid=15986): Failed to exec Python > script file '/var/www/trac/cgi-bin/trac.wsgi'. > [Fri Nov 10 12:58:35.740891

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread MARCOS GONÇALVES TEIXEIRA
erro in apache: [Fri Nov 10 12:58:35.740842 2023] [wsgi:error] [pid 15986:tid 140462495180352] [client myIP] mod_wsgi (pid=15986): Failed to exec Python script file '/var/www/trac/cgi-bin/trac.wsgi'. [Fri Nov 10 12:58:35.740891 2023] [wsgi:error] [pid 15986:tid 140462495180352] [client myIP]

Re: [Trac] Re: Deploy trac with error

2023-11-10 Thread Jun Omae
On Fri, Nov 10, 2023 at 10:58 AM MARCOS GONÇALVES TEIXEIRA wrote: > > this is the project IP: http://20.206.242.97 > > changes applied and persistent problem... Please describe the "problem" in details. > if you access the ip you will see that it is incorrect... Check error.log of apache if

[Trac] Re: Deploy trac with error

2023-11-09 Thread MARCOS GONÇALVES TEIXEIRA
this is the project IP: http://20.206.242.97 changes applied and persistent problem... After a lot of trying, I deleted everything and created it again deli@vm-delivery:~/trac$ ll /home/deli/trac/ total 40 drwxrwxrwx 8 root root 4096 Nov 10 00:18 ./ drwxr-x--- 11 deli deli 4096 Nov 9

[Trac] Re: Deploy trac with error

2023-11-09 Thread RjOllos
On Thursday, November 9, 2023 at 8:52:57 AM UTC-8 marco...@gmail.com wrote: Hi, After installing trac and deploying, I have two folders in /var/www 1 - cgi-bin 2 - htdocs The tutorial says that you should have also created the folder: /chrome/site is this a bug? Which tutorial? I suggest

[Trac] Re: Deploy trac with error

2023-11-09 Thread MARCOS GONÇALVES TEIXEIRA
my trac-alias.conf in /etc/apache2/sites-available ServerAdmin webmaster@localhost DocumentRoot /var/www/htdocs Alias /chrome /var/www/htdocs/common Alias /site /var/www/htdocs/site Alias */cgi-bin/* */var/www/cgi-bin/* Options +Indexes +FollowSymLinks