accessing http://10.10.10.106:8000 timed out. Looking at indico log at (/opt/indico/dev/indico/data/log/indico.log) shows me only following
2021-04-27 04:34:32,443 ERROR 0000000000000000 - indico.i18n Configured DEFAULT_LOCALE (en_GB) does not exist
The message about the locale is weird, en_GB should exist as long as you executed indico i18n compile-catalog before starting indico. Anyway, the warning is harmless and safe to ignore.
If you get a timeout it sounds like the issue is not related to indico but maybe your local firewall?
i did add port 8000 on firewall
[root@localhost ~]# firewall-cmd --permanent --add-port=8000/tcp
success
[root@localhost ~]# firewall-cmd --reload
success
following errors are flooding on watch terminal
Error from chokidar (/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Size2/Regular): Error: ENOSPC: System limit for number of file watchers reached, watch ‘/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Size2/Regular/Main.js’
Error from chokidar (/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Size3/Regular): Error: ENOSPC: System limit for number of file watchers reached, watch ‘/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Size3/Regular/Main.js’
Error from chokidar (/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Size4/Regular): Error: ENOSPC: System limit for number of file watchers reached, watch ‘/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Size4/Regular/Main.js’
Error from chokidar (/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Typewriter/Regular): Error: ENOSPC: System limit for number of file watchers reached, watch ‘/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Typewriter/Regular/BasicLatin.js’
Error from chokidar (/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Typewriter/Regular): Error: ENOSPC: System limit for number of file watchers reached, watch ‘/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js’
Error from chokidar (/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Typewriter/Regular): Error: ENOSPC: System limit for number of file watchers reached, watch ‘/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Typewriter/Regular/Main.js’
Error from chokidar (/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Typewriter/Regular): Error: ENOSPC: System limit for number of file watchers reached, watch ‘/opt/indico/dev/indico/src/node_modules/mathjax/unpacked/jax/output/SVG/fonts/TeX/Typewriter/Regular/Other.js’
[root@localhost ~]# nmap 10.10.10.106
Starting Nmap 6.40 ( http://nmap.org ) at 2021-04-27 07:55 EDT
Nmap scan report for 10.10.10.106
Host is up (0.000024s latency).
Not shown: 996 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https
8000/tcp open http-alt
Nmap done: 1 IP address (1 host up) scanned in 1.92 seconds
my 5th attempt was success. Now I have got the dev running. Following is the exact set of commands I used to get it running.
PS: There was only 1 error as follows
ERROR: pip’s legacy dependency resolver does not consider dependency conflicts when selecting packages. This behaviour is the source of the following dependency conflicts.
sphinx-rtd-theme 0.5.2 requires docutils<0.17, but you’ll have docutils 0.17.1 which is incompatible.
but still it got the dev console running
List of commands:
yum install epel-release
yum update
sudo yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm
sudo yum install git
sudo vi /etc/yum.repos.d/CentOS-Base.repo
Find the [base] and [updates] sections and insert the exclude=postgresql* line in both sections.
sudo yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
yum list postgresql*
sudo yum install postgresql96-server
sudo yum install postgresql96-contrib postgresql96-devel
sudo /usr/pgsql-9.6/bin/postgresql96-setup initdb
systemctl start postgresql-9.6.service
yum install -y gcc redis python-devel python-virtualenv libjpeg-turbo-devel libxslt-devel libxml2-devel libffi-devel pcre-devel libyaml-devel redhat-rpm-config libpq-devel
systemctl start redis.service
yum install httpd mod_ssl
useradd -rm -g apache -d /opt/indico -s /bin/bash indico
passwd indico
usermod -aG wheel indico
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
sudo yum install nodejs
yum install watchdog
yum install python-docutils
yum groupinstall “Development Tools”
yum install python-psycopg2
yum install libpq
yum install libpq5-devel
su - indico
mkdir -p ~/dev/indico/data
cd ~/dev/indico
virtualenv env -p /usr/bin/python2.7
git clone GitHub - indico/indico: Indico - A feature-rich event management system, made @ CERN, the place where the Web was born. src
mkdir plugins
git clone GitHub - indico/indico-plugins: Indico plugins developed by the Indico team plugins/base
git clone GitHub - indico/indico-user-docs: Indico Documentation user-docs
cd src
git checkout 2.3-maintenance
sudo -u postgres createuser $USER --createdb
sudo -u postgres createdb indico_template -O $USER
sudo -u postgres psql indico_template -c “CREATE EXTENSION unaccent; CREATE EXTENSION pg_trgm;”
createdb indico -T indico_template
source ./env/bin/activate
pip install -U pip setuptools
cd src
pip install -r requirements.dev.txt
pip install pyrsistent==0.16.1
pip install -e .
npm ci
indico setup wizard --dev
indico db prepare
indico i18n compile-catalog
indico i18n compile-catalog-react
sudo httpd start
sudo service firewalld stop
sudo vi /etc/selinux/config # disabled se linux
indico run -h 10.10.10.107 -q --enable-evalex