• Threads
  • Categories
  • Users
  • GitHub
  • Documentation
  • Discord
  • forum
  • group
  • search
  • chevron_right Threads
  • label Support
  • label Docker

Install blocked when run ./appctl setup on Centos 7

tommy
Nov. 21, 2018
chat_bubble_outline 14
  • link
    tommy
    Members 13 posts
    Nov. 21, 2018, 9:44 a.m. Nov. 21, 2018, 9:44 a.m.
    link

    Hello,
    I have finally arrive to first setup step, but I'm blocked at step 5 of 11.
    There isnt no way to do this setup, my Virtual Machine continue try to finish step and make all done.

    I have a question.

    There are any place can change what do installation step? because I have Centos 7, but in command line there are "apt-get" like Ubuntu.
    This is what setup except:

    get -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | apt-key add - && sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main" >> /etc/apt/sources.list.d/pgdg.list' && apt-get update && apt-get install -y --allow-unauthenticated vim libffi-dev libssl-dev libjpeg-dev libopenjp2-7-dev locales cron postgresql-client-10 gettext && apt-get clean
    
    
  • link
    tommy
    Members 13 posts
    Nov. 21, 2018, 9:46 a.m. Nov. 21, 2018, 9:46 a.m.
    link
    @tommy has written:

    Hello,
    I have finally arrive to first setup step, but I'm blocked at step 5 of 11.
    There isnt no way to do this setup, my Virtual Machine continue try to finish step and make all done.

    I have a question.

    There are any place can change what do installation step? because I have Centos 7, but in command line there are "apt-get" like Ubuntu.
    This is what setup except:

    get -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | apt-key add - && sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main" >> /etc/apt/sources.list.d/pgdg.list' && apt-get update && apt-get install -y --allow-unauthenticated vim libffi-dev libssl-dev libjpeg-dev libopenjp2-7-dev locales cron postgresql-client-10 gettext && apt-get clean
    
    

    I have found it!...its under /misago_docker/misago/Dockerfile

  • link
    rafalp
    Project Lead 1623 posts
    Nov. 21, 2018, 10:49 a.m. Nov. 21, 2018, 10:49 a.m.
    link

    The whole goal of Docker is that you shouldn't change any of dockerfile, because it happens inside container. Could you share original issue that you've been having?

  • link
    tommy
    Members 13 posts
    Nov. 21, 2018, 3:05 p.m. Nov. 21, 2018, 3:05 p.m.
    link

    this is my error.. at point 5/11 on Ubuntu 18.04.. same happen on Centos 7.

    gpg: no valid OpenPGP data found
    
    
  • link
    rafalp
    Project Lead 1623 posts
    Nov. 21, 2018, 3:21 p.m. Nov. 21, 2018, 3:21 p.m.
    link

    Thank you, can you provide all output from your docker? You can send it in private thread if you don't want to make it public.

  • link
    tommy
    Members 13 posts
    Nov. 22, 2018, 11:53 a.m. Nov. 22, 2018, 11:53 a.m.
    link
    @rafalp has written:

    Thank you, can you provide all output from your docker? You can send it in private thread if you don't want to make it public.

    I've open a private thread, when you have time can give a response please?

    Thanks
    Tommy

  • link
    rafalp
    Project Lead 1623 posts
    Nov. 22, 2018, 12:18 p.m. Nov. 22, 2018, 12:18 p.m.
    link

    Could you describe what are you doing? Why are you using VM? Do you want to test Misago locally or run production forum?

  • link
    tommy
    Members 13 posts
    Nov. 22, 2018, 12:29 p.m. Nov. 22, 2018, 12:29 p.m.
    link
    @rafalp has written:

    Could you describe what are you doing? Why are you using VM? Do you want to test Misago locally or run production forum?

    yeah sorry, my english isnt good.. I have a Virtual Machine with Ubunut server 18.04 because i want try and understand how it work backend and if it will be useful for mine project. Run locally forum wil be a second step, but first need to test it because my project work with APIs.

  • link
    rafalp
    Project Lead 1623 posts
    Nov. 22, 2018, 12:45 p.m. Nov. 22, 2018, 12:45 p.m.
    link

    What system are you running VM on? I am suspecting that problems your are running into are caused by the fact that you are running Docker containers behind VM that may be blocking some of its features.

  • link
    tommy
    Members 13 posts
    Nov. 22, 2018, 1:56 p.m. Nov. 22, 2018, 1:56 p.m.
    link

    I'm using Virtual Box on Windows 10.

  • link
    rafalp
    Project Lead 1623 posts
    Nov. 22, 2018, 2:46 p.m. Nov. 22, 2018, 2:46 p.m.
    link

    Is this windows 10 Pro? Can you use Docker for Windows on your computer?

  • link
    tommy
    Members 13 posts
    Nov. 22, 2018, 6:22 p.m. Nov. 22, 2018, 6:22 p.m.
    link

    Oh man... I think will not a good choice in future. I prefer make test in a VM because if sometjing went wrong my pc.. say goodbye. So if there're any tutorial about hand by hand installation by step or similar.

    I can only need what need for working your forum without using Digital Ocean services.

    Thank you.
    Tommy

  • link
    rafalp
    Project Lead 1623 posts
    Nov. 22, 2018, 7:58 p.m. Nov. 22, 2018, 7:58 p.m.
    link

    But Docker itself is isolation technology like VM. Running Docker in VM is like running VM inside VM, except you have errors because one VM is blocking other.

    If you want to just try Misago, please git clone main repository and run those commands using Docker for Windows:

    docker-compose build - builds docker containers
    docker-compose run --rm misago python manage.py migrate - runs migrations
    docker-compose run --rm misago python manage.py createsuperuser - creates test user
    docker-compose up - starts dev server
    

    misago_docker is created to run production environments. Even if you've got it to install, it would crash because you've didn't configure domain or open ports 80 and 443. Docker on main repo is created to run on localhost, so it should be easier to run.

  • link
    tommy
    Members 13 posts
    Nov. 23, 2018, 11:53 a.m. Nov. 23, 2018, 11:53 a.m.
    link

    Ehmm, thank for step command I need to do this work!

    But idk if continue try to debug or install on my VM.. better solution will be buy a Digital Ocean proplet let you describe in your tutorial.

    Anyway.
    Thanks for your help.

    Tommy

  • link
    rafalp
    Project Lead 1623 posts
    Nov. 23, 2018, 3:25 p.m. Nov. 23, 2018, 3:25 p.m.
    link

    Absolutely do what you feel works for you - just keep on mind that you are walking off the beaten path here ;)

    Still, using main repo instead of misago_docker should be much easier to run locally. It's not installing plenty of things that misago_docker does.

There are no more posts in this thread.

  • This site uses cookies to gather statistical data for use in traffic analysis. Header photo by Joanna Malinowska.
  • GitHub
  • Documentation
  • Discord
  • Terms of service
  • Privacy policy
powered by misago