Comments (6)
Hello,
It seems that you managed to install the base app correctly.
For the warning messages at the begining, they are not important. The first two about Fixnum and Bignum are there because you are not using ruby 2.3.x but a more recent version. No worries, though, ekylibre seems to work fine for ruby up to 2.6.x even with the warnings.
Everything about RestfullyManageable can be ignored for now.
Ekylibre is built with multi-tenancy in mind (one installation can handle multiple different farms, each with their own set of users), once the app installed, you need to create a tenant to start using it.
That's what the rake tenant:create TENANT=demo
means: It creates a tenant names demo and initializes it with an admin user ([email protected]/12345678) hint: change the password :-D
For ekylibre to know which tenant you want to use, two possibilities:
Either start the server with the TENANT env variable set to your tenant name:
TENANT=demo rails s -b 0.0.0.0
Or, you can use the multi-tenancy system that directly looks for the subdomain name.
For this you will need to edit the /etc/hosts
file and ass the lines (for example):
127.0.0.1 demo.ekylibre.lcom
You will then be able to access the demo tenant at the address https://demo.ekylibre.lcom:3000
locally.
For your error message, it seems that you tried to create a new account.
I must admit that we are not using it internally to create users so its totally possible that its not working. Just try to log-in with the admin user and create new users from the farm interface.
from ekylibre.
Hi @piotaixr
Thank you very much for responding. I set to work, to adjust the installation according to your recommendations. And I will give you feedback.
cordially
from ekylibre.
good evening
I tried to reinstall ekylibre, and advanced to the first_run stage.
When trying to run the following command line
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 rake first_run name=demo folder=demo max=80
I am faced with the following error.
✔ Ekylibre settings (manifest.yml) 21 done in 14s
✔ Ekylibre visuals (background.jpg) 1 done in 1s
∅ Ekylibre backup (backup.zip)
✔ Ekylibre accounts (accounts.csv) 80 done in 0s
✔ Ekylibre variants (variants.ods) 4 done in 9s
✔ Ekylibre entities (entities.csv) 29 done in 4s
∅ La graine informatique vinifera entities (entities.zip)
✔ Ekylibre georeadings (cultivable_zones.zip) 37 done in 0s
✔ Ekylibre georeadings (zones.zip) 59 done in 0s
∅ Ekylibre land parcels (land_parcels.csv)
✔ Ekylibre cultivable zones (cultivable_zones.csv) 30 done in 0s
∅ Telepac v2014 cap land parcels (ilot.zip)
∅ Telepac v2014 land parcels (parcelle.zip)
∅ Telepac v2015 cap land parcels (ilot.zip)
∅ Telepac v2015 land parcels (parcelle.zip)
rake aborted!
ActiveRecord::RecordInvalid: Validations échouées : Type n’est pas inclus dans la liste
/home/paulin/ekylibre/app/models/import.rb:72:inlaunch!' /home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:188:in
import!'
/home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:236:inimport' /home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:121:in
import_file'
/home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:67:inblock (2 levels) in run_loader' /home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:58:in
each'
/home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:58:inblock in run_loader' /home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:54:in
run_loader'
/home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:45:inblock (2 levels) in run' /home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:44:in
each'
/home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:44:inblock in run' /home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:82:in
secure_transaction'
/home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:43:inrun' /home/paulin/ekylibre/lib/ekylibre/first_run.rb:60:in
block in launch'
/home/paulin/ekylibre/lib/ekylibre/first_run.rb:77:inblock in secure_tenant' /home/paulin/ekylibre/lib/ekylibre/tenant.rb:228:in
switch'
/home/paulin/ekylibre/lib/ekylibre/first_run.rb:76:insecure_tenant' /home/paulin/ekylibre/lib/ekylibre/first_run.rb:56:in
launch'
/home/paulin/ekylibre/lib/ekylibre/first_run.rb:23:inlaunch!' /home/paulin/ekylibre/lib/tasks/first_run.rake:46:in
block in <top (required)>'
Tasks: TOP => first_run
(See full trace by running task with --trace)
If I try to continue, with starting the server, I cannot sign in.
Do you have any idea that could help me, to correctly execute this command line.
Thank you in advance !
from ekylibre.
Hi @piotaixr
I hope you feel well. After looking for a solution, I notice that the error come from the demo dataset. I think we have to update the dataset. Maybe it contains some obsolete data.
Would it be possible, that I obtain a dataset, adapted to the current version of ekylibre.
I would like to notice, that I cannot create a new user account.
Cordially
from ekylibre.
Sorry for the delay. Working on it as soon as I have the time to do it :s
from ekylibre.
Stale issue message
from ekylibre.
Related Issues (20)
- Unable to register HOT 3
- CentOS 8 : build failed HOT 2
- Security concern HOT 3
- Error when running docker version of Ekylibre HOT 7
- API Web Service for data integration automation ? HOT 3
- lib/eky_lexicon.rb, wrong error rescue message raised with Aws::Sigv4::Errors::MissingCredentialsError HOT 2
- support ruby > 3.0. HOT 2
- Missing config/database.sample.yml HOT 4
- Upgrade dep rgeo to 3.0? HOT 3
- Proj4 is not supported. Some actions won't work HOT 4
- How to install Ekylibre in production mode on VPS ? HOT 4
- Upgrade dep rgeo to 3.0? HOT 2
- support ruby > 3.0 HOT 2
- lib/eky_lexicon.rb, wrong error rescue message raised with Aws::Sigv4::Errors::MissingCredentialsError HOT 2
- Error when running docker version of Ekylibre HOT 2
- InvalidAuthenticityToken HOT 1
- Docker build failing HOT 2
- Websites are down HOT 2
- Installation Rbenv install HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ekylibre.