CampaignChain / campaignchain

CampaignChain Community Edition
Other
119 stars 51 forks source link

No installation wizard after installing CE edition on ubuntu 16.04 #395

Open jasjitchopra opened 7 years ago

jasjitchopra commented 7 years ago

I followed this article and everything goes smooth except I do not get the installation wizard.

https://lowendbox.com/blog/how-to-install-campaign-chain-on-ubuntu-16-04/

It takes me straight to the login page when I have not even configured any admin user.

Is there something wrong with the latest dev-master build or am I missing something from the setup?

Mpaxi commented 7 years ago

+1

jasjitchopra commented 7 years ago

Looks like this specific guide is missing a lot of explanation and proper steps.

I followed the guide form GitHub Readme which is also mising steps but got a sort of working environment.

xtechgamer735 commented 7 years ago

+1 - the installation guide is terrible

groganz commented 7 years ago

Please try again with the latest dev-master. Make sure you install from scratch. If the Wizard still does not show up, is there an .install file in app/campaignchain/ or is it .install_done? If the latter, please change to .install, then the Wizard should appear. In any case, please let me know what the initial file was.

rbaffoe commented 7 years ago

+1 The installation wizard does not appear on installation.

At no point does the setup process involve creating a new user. I've followed the instructions on both an existing and fresh new server. The .install and install_done files do not appear and I'm redirected to /login

This is quite an issue. Even having a default user with a default password (not ideal) would be better than having new users stuck before the fun has even started.

rbaffoe commented 7 years ago

Hi @jasjitchopra @Mpaxi @xtechgamer735.

Managed to get it working: Here's the instructions. I've got the PHP server working, but not apache yet.

cd into the /var/www folder then clone the GitHub repository

git clone git@github.com:CampaignChain/campaignchain-ce.git

cd into the campaign chain folder created by the GitHub repository.

cd campaignchain composer install --prefer-source

The composer command will install all of the vendor packages then ask for the app parameters. Where the campaign.env variable is mentioned, use prod instead of dev

campaignchain.env (dev): prod

The installer will continue. If you have any problems with your parameters/schema the installer will quit. This may be where most people encounter problems. Change the parameters in the parameters.yml file within the app/config folder.

Then run the following command again app/console campaignchain:update:schema

Now if you get to a point after the schema has updated where the script quits.. for example an error such as:

Script composer run-script campaignchain-setup handling the post-install-cmd event returned with error code 1

Then run the following commands composer install composer run-script campaignchain-setup

The installer will take some time... if you do not see the following lines at the end of the script, start again.

Installing theme assets as hard copies. installing bootstrap installing dist installing plugins installing documentation installing starter.html

CampaignChain\CoreBundle\Composer\ScriptHandler::enableInstallMode CampaignChain: Enabled install mode.

Then run

php app/console server:run 0.0.0.0:8000 and connect your browser.

These instructions aren't perfect. I've just spent 26 hours over 3 days trying to get it to work. Let me know how you all go and

nanohealgithub commented 6 years ago

Hi @rbaffoe ,

I have followed your steps but am getting below error, when i run below command,

composer install --prefer-source

#############################################

Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::removeSymfonyStandardFiles bin/console campaignchain:update:kernel

[Symfony\Component\Config\Exception\FileLoaderLoadException]
There is no extension able to load the configuration for "fidry_alicedata
fixtures" (in /var/www/html/campaignchain/campaignchain/app/config/../campa
ignchain/config/../../../vendor/campaignchain/core/Resources/config/config.
yml). Looked for namespace "fidry_alice_data_fixtures", found "framework",
"security", "twig", "monolog", "swiftmailer", "doctrine", "sensio_framework
_extra", "assetic", "braincrafted_bootstrap", "knp_menu", "knp_paginator",
"sc_datetimepicker", "fos_user", "fos_js_routing", "sp_bower", "sonata_core
", "sonata_block", "jms_serializer", "fos_rest", "nelmio_apidoc", "avanzu
admin_theme", "campaignchain_core", "oneup_uploader", "liipimagine", "knp
gaufrette", "debug", "web_profiler", "sensio_distribution", "web_server" in
/var/www/html/campaignchain/campaignchain/app/config/../campaignchain/conf
ig/../../../vendor/campaignchain/core/Resources/config/config.yml (which is
being imported from "/var/www/html/campaignchain/campaignchain/app/config/
../campaignchain/config/imports.yml").

[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
There is no extension able to load the configuration for "fidry_alicedata
fixtures" (in /var/www/html/campaignchain/campaignchain/app/config/../campa
ignchain/config/../../../vendor/campaignchain/core/Resources/config/config.
yml). Looked for namespace "fidry_alice_data_fixtures", found "framework",
"security", "twig", "monolog", "swiftmailer", "doctrine", "sensio_framework
_extra", "assetic", "braincrafted_bootstrap", "knp_menu", "knp_paginator",
"sc_datetimepicker", "fos_user", "fos_js_routing", "sp_bower", "sonata_core
", "sonata_block", "jms_serializer", "fos_rest", "nelmio_apidoc", "avanzu
admin_theme", "campaignchain_core", "oneup_uploader", "liipimagine", "knp
gaufrette", "debug", "web_profiler", "sensio_distribution", "web_server"

Script bin/console campaignchain:update:kernel handling the campaignchain-setup event returned with error code 1 #####################################

Can you please help me.

egontcho commented 6 years ago

Hello, I only had to manually create an empty .install file in app/campaignchain/ to make the installation start. Hope this will help.

rbaffoe commented 6 years ago

@nanohealgithub I've just tried to install the updated version of campainchain and get the same error. Think we might have to give up on this one. never got this software to work properly anyway and now doesn't appear to be maintained. shame because it'd be quite a winner

louisyssel commented 5 years ago

Are these guys serious about this software.

Absolutely impossible to get it to run. Also just spent an entire day trying to get it to run, Ubuntu, Centos and Debian, no luck.

Such awesome functionality and pormise, with useless documentation.

Pity to think someone actually spent time developing it if they do not want people to be able to install it.

louisyssel commented 5 years ago

If someone working on CampaignChain managed to get this software to run, please post here, love the promised functionality.

rbaffoe commented 5 years ago

Hi @louisyssel the I think I have a backup of an install from 2016. I’ll take a look and report back. It’s very likely the dependencies in the package.json are now invalid as they’ve moved on.

louisyssel commented 5 years ago

Thanks Richard, it is however a pity that they moved on, as this means the system will not be supported. Can you recommend something that one can use instead?