Giter Club home page Giter Club logo

Comments (6)

piotaixr avatar piotaixr commented on July 3, 2024

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.

paulinK avatar paulinK commented on July 3, 2024

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.

paulinK avatar paulinK commented on July 3, 2024

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:in launch!' /home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:188:in import!'
/home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:236:in import' /home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:121:in import_file'
/home/paulin/ekylibre/lib/ekylibre/first_run/base.rb:67:in block (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:in block 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:in block (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:in block 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:in run' /home/paulin/ekylibre/lib/ekylibre/first_run.rb:60:in block in launch'
/home/paulin/ekylibre/lib/ekylibre/first_run.rb:77:in block in secure_tenant' /home/paulin/ekylibre/lib/ekylibre/tenant.rb:228:in switch'
/home/paulin/ekylibre/lib/ekylibre/first_run.rb:76:in secure_tenant' /home/paulin/ekylibre/lib/ekylibre/first_run.rb:56:in launch'
/home/paulin/ekylibre/lib/ekylibre/first_run.rb:23:in launch!' /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.

paulinK avatar paulinK commented on July 3, 2024

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.

piotaixr avatar piotaixr commented on July 3, 2024

Sorry for the delay. Working on it as soon as I have the time to do it :s

from ekylibre.

github-actions avatar github-actions commented on July 3, 2024

Stale issue message

from ekylibre.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.