Open anilergin opened 7 years ago
@anilergin "permission denied(publickey) fatal: the remote hung up unexpectedly.
This error may have occurred because SSH Public Key is not set in your account.
You can try to fix it as follows:
1) You should to generate SSH Public Key. Steps are described here: https://git-scm.com/book/en/v2/Git-on-the-Server-Generating-Your-SSH-Public-Key
2) After that your should to set generated key in your account. Steps are described here: https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
Firstly Thanks for quick response. I already create and I run it and downloaded in one of the domain. I can see inside the domain when I connect to FTP. Now I have: http://.../connfa-integration-server/ Is it right path?
I also tried to run composer install I have: composer: command not found
Anyway I jumped other step: And I changed .env.example file to .env. Should I change the information of app URL or dbname etc..?
Is it using Mysql? How can i integrate my database and where is my main page.
@anilergin
You should connect to your server by ssh and go to project directory (connfa-integration-server), there are you can see composer.json
First of all you make sure that you have installed composer. If composer is not installed, you should follow steps:
If you have root permisions on server.
1) download composer: https://getcomposer.org/download/
2) install composer globally https://getcomposer.org/doc/00-intro.md#globally after first step run mv composer.phar /usr/local/bin/composer
After these steps you can try run command: composer install
If you don't have root permisions on server.
You should install composer locally (to application "connfa-integration-server" directory).
1) download composer: https://getcomposer.org/download/
After that you can try to run command: composer.phar install
I run "wget composer.phar" inside the connfa-integration server
[admin@anilergin connfa-integration-server]$ wget composer.phar --2017-04-20 15:31:45-- http://composer.phar/ Resolving composer.phar... 72.52.4.122 Connecting to composer.phar|72.52.4.122|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://sedoparking.com/?path=home [following] --2017-04-20 15:31:45-- http://sedoparking.com/?path=home Resolving sedoparking.com... 72.52.4.90 Connecting to sedoparking.com|72.52.4.90|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: //sedoparking.com/infopage/en/index.html [following] --2017-04-20 15:31:45-- http://sedoparking.com/infopage/en/index.html Reusing existing connection to sedoparking.com:80. HTTP request sent, awaiting response... 200 OK Length: 2645 (2.6K) [text/html] Saving to: “index.html”
100%[======================================>] 2,645 --.-K/s in 0s
2017-04-20 15:31:45 (205 MB/s) - “index.html” saved [2645/2645]
I it working with MySQL? How can I integrate and How can I reach dashboard of CMS that?
@anilergin
For installing composer you should run four following commands ( Documentation for installing https://getcomposer.org/download/ ) in project application directory (connfa-integration-server)
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
After that you can try to run command: composer.phar install
I already installed the composer.
I changed name to .env
When I try to run" php artisan migrate" I got this-->
[PDOException] SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)
Should I change more in .env? like db?
@anilergin
You should configure database connections and change in your .env file following section to your configuration
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE={your_database_name} DB_USERNAME={your_database_username} DB_PASSWORD={your_database_password}
I changed and run migration
php artisan migrate
I also changed the .env API domain to: API_DOMAIN=http://hazir-web-sitesi.com/deneme/connfa-integration-server/
Migration table created successfully. Migrated: 2014_10_12_000000_create_users_table Migrated: 2014_10_12_100000_create_password_resets_table Migrated: 2015_08_29-192817_create_settings_table Migrated: 2016_05_10_121655_create_speakers_table Migrated: 2016_05_11_084328_create_event_types_table Migrated: 2016_05_11_112518_create_event_levels_table Migrated: 2016_05_11_121504_create_event_tracks_table Migrated: 2016_05_11_125741_create_events_table Migrated: 2016_05_13_112900_create_plans_table Migrated: 2016_05_13_125313_create_pages_table Migrated: 2016_05_13_133912_create_locations_table Migrated: 2016_05_13_140920_create_points_table Migrated: 2016_08_18_112934_entrust_setup_tables Migrated: 2017_02_07_132152_events_text_make_nullable Migrated: 2017_02_22_110227_create_conferences_table Migrated: 2017_02_22_121420_add_conference_relations_table Migrated: 2017_03_03_080232_drop_unique_key_settings_table
when I try http://hazir-web-sitesi.com/deneme/connfa-integration-server/public/login
Whoops, looks like something went wrong.
1/1 RuntimeException in compiled.php line 7715: No supported encrypter found. The cipher and / or key length are invalid.
when I try http://hazir-web-sitesi.com/deneme/connfa-integration-server/public/login/ -->/
not found
My mod_rewrite is open.
How can I reach to dashboard login page
@anilergin
To fix this error "No supported encrypter found. The cipher and / or key length are invalid.", please run following command in project directoryphp artisan key:generate
super I can see login page now. http://hazir-web-sitesi.com/deneme/connfa-integration-server/public/login
What is my username and password?
I tried to run php artisan password:change --name=admin --password=123456
But:
The user is not registered.
I run these If you want to seed fake data into your database run php artisan db:seed To seed admin user you can run php artisan db:seed --class=UsersTableSeeder
But now when I try php artisan password:change --name=admin --password=123456,
[BadMethodCallException] This cache store does not support tagging.
What is my admin informations?
@anilergin
Try to replace in .env file from CACHE_DRIVER=file to CACHE_DRIVER=array
After that try php artisan password:change --name=admin --password=123456
Ok. Thank you for all. I logined inside.
1- But when i click something, like events, speakers etc.. it s going to 404 not found
http://hazir-web-sitesi.com/deneme/connfa-integration-server/public/boganview-2017/sessions/7 http://hazir-web-sitesi.com/deneme/connfa-integration-server/public/boganview-2017/floors/1 http://hazir-web-sitesi.com/deneme/connfa-integration-server/public/boganview-2017/speakers/51/edit
2- In addition I also tried the Android version and I couldn't pass splash screen.
Used
But I had error"Internet connection is not available at this moment. Please, try later" But I have.
@anilergin 1- But when i click something, like events, speakers etc.. it s going to 404 not found
Looks like you have created admin user not correctly, becouse you had error [BadMethodCallException].
Could you clear following tables in database: "roles" and "users", after that run commands:
php artisan db:seed --class=UsersTableSeeder
php artisan password:change --name=admin --password=YOUR_PASSWORD_HERE
@anilergin, hello. Please specify what error you received from server when you tried to launch Android application? "1- But when i click something, like events, speakers etc.. it s going to 404 not found" It looks like 404 error may cause this problem. Please try to fix it.
Regards, Pavlo
I tried it but still same problem I have. I can create everything, but When I see what I create before, a speaker or another thing, It s going to 404 not found. @vpauk
@pavlo-savchuk When I start to launch app, in splash screen I got "Internet connection is not available at this moment. Please, try later". just this.
Is it not correct?
I am writing
But It s back to me Internet connection is not available at this moment. Please, try later
APP_ENV=local APP_DEBUG=true APP_KEY=base64:qAWoHV8nV4f8H86fDOXfiUIV6Ab2523CZCcmoh60IAE= APP_URL=http://hazir-web-sitesi.com/deneme/connfa-integration-server/public/
DB_CONNECTION=mysql DB_HOST=185.86.4.71 DB_PORT=3306 DB_DATABASE=admin_te DB_USERNAME=admin_te DB_PASSWORD=gh*
CACHE_DRIVER=array SESSION_DRIVER=file QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379
MAIL_DRIVER=smtp MAIL_HOST=mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null
API_PREFIX=api API_DOMAIN=http://hazir-web-sitesi.com/deneme/connfa-integration-server/public/ API_VERSION=v2 API_DEBUG=true API_CONDITIONAL_REQUEST=false
@anilergin
1- But when i click something, like events, speakers etc.. it s going to 404 not found
I have one solution, could you clear all data in database, for this you can run command: php artisan migrate:refresh
and after then run
php artisan db:seed
(without --class=UsersTableSeeder)php artisan password:change --name=admin --password=YOUR_PASSWORD_HERE
I tried it and still same error I have :/ @vpauk
@vpauk can I do smt for fix it?
I also write here my .env file. is it correct to connect from app? because I also couldn't pass splash screen when I launch in Android studio.
@anilergin hello, just want to make sure that you are aware about Connfa! documentation. It's available here: http://connfa.com/documentation/ and may be helpful to install integration server and build Android app.
@NataliyaOprysko It couldn't succdeed I tried everythin in there
Hello,
I have no so much experience on installation server. I have centos server and several domains belogs to server. What I should to install CMS to a domain basically?
I already tried inside a domain belongs to server. I run "git clone git@github.com:lemberg/connfa-integration-server.git" but I could'nt succeed. I had " permission denied(publickey) fatal: the remote hung up unexpectedly.
Where is my mistake, How can I install it can you help me? Thanks.