vrk-kpa / xroad-joint-development

Unmaintained repository. Development moved to: https://github.com/nordic-institute/X-Road-development
19 stars 8 forks source link

Setting up a local X-Road instance with errors #236

Closed yamatokataoka closed 5 years ago

yamatokataoka commented 5 years ago

Hello @petkivim,

My name is Yamato. I am a newbie on X-Road.

I have a problem when trying to set up a build environment and a local X-Road instance using Vagrant.

I've followed the instruction and gotten error when tried to run this script

ansible-playbook -i hosts/lxd_hosts.txt xroad_dev.yml

screen shot 2018-09-08 at 23 19 55

also,

screen shot 2018-09-08 at 23 23 50

I didn't receive any errors when executing prepare_buildhost.sh or update_ruby_dependencies.sh

And lxc list command seems work well.

However, I couldn't access the CA or SS via browser:

Regards,

Yamato

P/S: The OS that I am using is: Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-134-generic x86_64) on a virtual machine and, the OS of my host machine is: macOS

petkivim commented 5 years ago

Hi @yamato-k

This repository is not used anymore, please submit your support requests to our current repository next time:

https://github.com/nordic-institute/X-Road-development/

Current X-Road master repository is:

https://github.com/nordic-institute/X-Road

This repository is not maintained anymore:

https://github.com/vrk-kpa/X-Road/

Did you already build the packages (./build_packages.sh) successfully before running the Ansible script? If yes, try to run the Ansible script with --skip-tags "compile" switch. By default, the script build the packages first, but that part can be skipped if you have already run ./build_packages.sh manually.

ansible-playbook -i hosts/lxd_hosts.txt xroad_dev.yml --skip-tags "compile"

When have you cloned and last synced (git pull) the X-Road master repository (https://github.com/nordic-institute/X-Road)? If you have cloned the repository earlier and not synced it recently, please sync it first and then try to compile & install again. Earlier there was a problem with packaging that has been fixed recently. If you have cloned VRK's X-Road repository (https://github.com/vrk-kpa/X-Road/) then switching to the current master repository (https://github.com/nordic-institute/X-Road) will fix the problem.

Regards, Petteri

yamatokataoka commented 5 years ago

Thank you for your help.

I synced new repository again, then fixed the problem.