Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some notes on running the script #4

Open
mutlurasit opened this issue Jun 22, 2020 · 0 comments
Open

Some notes on running the script #4

mutlurasit opened this issue Jun 22, 2020 · 0 comments

Comments

@mutlurasit
Copy link

mutlurasit commented Jun 22, 2020

Hello, thanks again for this great work.

I just wanted to note a few hiccups I encountered during the installation and thought it would be useful to for others. Some of the issues are not related to this script but webrecorder code yet hope it's alright to list them here as well.

  1. This one is really simple but might be overlooked by newbies like myself. After cloning this git, run the following command to enter nano editor and add your email address for SSL certification.

sudo nano playbook.yml and look for certbot_email and edit as appropriate.

  1. Sometimes certbot returns SSL_"ST_INIT" error, for me the following command worked.

sudo pip install -U pyopenssl

  1. Even after everything is installed correctly, some background applications (app, warcserver, recorder) refuse to start and returns ulimit error when run sudo docker logs app As mentioned here just comment ulimit on docker-compose.yml but be mindful not to comment out all the line and remember there are three instance where ulimit is called. Here is what worked for me:

original code:

command: ulimit -n 65536; uwsgi --need-app /code/apps/apiapp.ini

version that worked:

#command: ulimit -n 65536
  command: uwsgi --need-app /code/apps/apiapp.ini
@mutlurasit mutlurasit changed the title Some notes on this running script Some notes on running the script Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant