Problème d'installation du Fabmanager

Bonjour, désolé de encore déranger sur le forum ! :crying_cat_face:
J’ai un soucis un peu plus complexe auquel je n’arrive pas du tout à résoudre, j’ai essayé d’installer le Fabmanager sur une nouvelle machine depuis 0, tout s’installe correctement jusqu’à cette partie :

J’ai cherché sur internet ce problème est apparement c’est un problème d’input sur le container ? Je voudrais avoir de l’aide ! merci.

Salut,

Quel interpréteur utilises-tu (bash, putty, zsh…) ? Est-ce que tu arrives saisir le mot de passe et la confirmation ou non ?

Bonjour, merci d’avoir répondu, j’utilise juste du bash simple (le cmd de linux quoi), et pour le mot de passe j’arrive à le saisir oui.

Bizarre, si tu arrives bien à saisir ton mot de passe c’est que c’est autre chose, or à cette étape rien ne demande une saisie utilisateur …

Est-ce que par hasard tu es derrière un proxy d’entreprise ?

Nop, l’unique composant qui joue le rôle d’intermédiaire c’est un pare-feu (StormShield) et un serveur NAS (SYNOLOGY) mais j’ai déjà configuré les deux pour laisser le Fabmanager tourner tranquillement sans problème.

La preuve c’est que j’ai gardé un template du de la machine qui hostait le fabmanager « beta » que j’avais auparavant, et quand je le lance il marche correctement, par contre il est en 5.3.13 (comme je t’avais dit, j’arrive vraiment pas à upgrade, ducoup j’ai préféré tout réinstaller sur une nouvelle VM) :

J’ai oublié de te préciser que mes VM’s sont dans un environnement PROXMOX, j’ai réessayer d’installer mais toujours le même problème lorsque je rentre le mail et le pwd admin :

Ok je crois avoir trouvé le problème, ça sera corrigé avec la prochaine version :wink:

1 « J'aime »

D’accord, je te remercie !

J’avais oublié de te refaire la remarque, j’ai réinstaller un fabmanager sur une nouvelle machine (hier), et tout avait été installé correctement (ce qui me paraissait bizarre ??).
Ducoup j’avais le template de base du fabmanager et je devais remplacer par la DB de notre fablab, je t’explique ce que j’ai fais et ce qui s’est passé :

Après avoir installé le fabmanager comme indiqué sur la doc, j’ai pris le fichier /apps/fabmanager/postgressql (et les fichiers tels que public, imports, exports etc.) du backup que j’avais effectué.

Ensuite j’ai effectué :
docker compose run --rm fabmanager bundle exec rails assets:precompile docker compose down && docker compose up -d
le site m’affichais rien, à part ça :

Au tout début de mon stage j’avais très souvent ce bug, à cause du postgresSQL, donc j’ai consulté les logs et j’ai lancé le docker-compose up sans le -d, et je me vois avec ça :

J’ai accédé à la DB avec l’aide de cette doc, et le fablab_production est bien présent, mais inactif, t’as une idée de ce qui aurait pu enchaîner cette catastrophe ? :scream_cat:

Excuse moi de te bombarder cette semaine Sylvain !
C’est mes 2 dernières semaines de stage, ducoup je suis un peu désespéré de voir que mon projet de stage s’effondre comme ça :crying_cat_face:

C’est encore un autre bug qui sera également corrigé avec la prochaine version (la même que précédemment qu’on a pas encore publié vu qu’on trouve trop de nouveaux bugs :sweat_smile:)

Hello ! Idem que Edd, je n’arrive pas à installer Fab-manager sur mes serveur (hébergeur ou local). Rien via docker, rien via la doc.
Une issue?

Impossible d’installer quoique ce soit! Une issue?

Oui, on va essayer de publier la version corrective d’ici demain

Salut,

La nouvelle version qui corrige les problèmes d’installation a été publiée hier. Je suis preneur de vos retours si vous en avez :wink:

Bonne journée,

Bonjour,

J’ai le même soucis qu’ @Edd

J’ai essayé dans un environnement local (KVM) ainsi qu’avec un VPS (Oracle Cloud) …

docker compose down && docker compose up -d
docker logs fabmanager-postgres-1

img

Avez-vous une idée de comment je pourrais résoudre cette issue ?

@darkclaw974 tu as une erreur pendant l’installation ?

Oui , lors de l’installation par la commande ci-dessous :

curl -sSL setup.fab.mn | bash

J’ai eu droit au "Something went wrong while compiling the assets, existing… "

De ce fait j’ai recompilé à nouveau et j’ai pas eu le message d’erreur…

docker compose run --rm fabmanager bundle exec rails assets:precompile

Puis j’ai relancé le conteneur docker dans /apps/fabmanager. :

docker compose down && docker compose up -d

Est-ce la bonne méthode ?

Je pense que si quelque chose à foiré durant la compilation initiale des assets, c’était peut-être dû à un autre problème (que l’on retrouve maintenant). As-tu gardé les logs ?

Oui, update j’ai recomplé pour inspecter et je suis tombé sur cette erreur dans les logs :

[code]2022-08-24T11:53:00.720Z pid=1 tid=ostf5ufb9 uniquejobs=client until_executed=uniquejobs:cc0574218e68e72b42b613c67a256545 INFO: Adding dead VersionCheckWorker job dc2024fd89b85d63b4c853f4
I, [2022-08-24T11:53:01.075316 #1] INFO – : Compiling…
E, [2022-08-24T11:53:18.677713 #1] ERROR – :
COMPILATION FAILED:
EXIT STATUS: pid 235 exit 1
OUTPUTS:
assets by status 3.57 MiB [cached] 32 assets
Entrypoint application = js/runtime-27311a6acc134a1c4d45.js js/application-a2e5be507a7acbd68bab.js css/application-af46c1a5.css 27 auxiliary assets
Entrypoint plugins = js/runtime-27311a6acc134a1c4d45.js js/plugins-405a861d12720268e6c4.js 1 auxiliary asset
Entrypoint printer = js/runtime-27311a6acc134a1c4d45.js js/printer-3b88044eeb397d00d812.js css/printer-9c13df01.css 2 auxiliary assets
orphan modules 1.15 MiB (javascript) 3.09 MiB (asset) 2.01 KiB (runtime) [orphan] 46 modules
runtime modules 2.62 KiB 3 modules
cacheable modules 178 bytes (javascript) 492 KiB (css/mini-extract)
javascript modules 178 bytes
modules with errors 78 bytes [errors]
./app/frontend/application.js.erb 39 bytes [built] [code generated] [1 error]
./app/frontend/plugins.scss.erb 39 bytes [built] [code generated] [1 error]
modules by path ./app/frontend/*.scss 100 bytes
./app/frontend/application.scss 50 bytes [built] [code generated]
./app/frontend/printer.scss 50 bytes [built] [code generated]
css modules 492 KiB
css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[10].use[0]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[10].use[1]!./app/frontend/application.scss 135 bytes [built] [code generated]
css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[10].use[0]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[10].use[1]!./app/frontend/application.scss (1) 490 KiB [built] [code generated]
css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[10].use[0]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[10].use[1]!./app/frontend/printer.scss 2.04 KiB [built] [code generated]

ERROR in ./app/frontend/application.js.erb
Module build failed (from ./node_modules/rails-erb-loader/index.js):
Error: rails-erb-loader failed with code: 1
at ChildProcess. (/usr/src/app/node_modules/rails-erb-loader/index.js:128:16)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Socket. (node:internal/child_process:451:11)
at Socket.emit (node:events:527:28)
at Pipe. (node:net:709:12)

ERROR in ./app/frontend/plugins.scss.erb (./app/frontend/plugins.scss.erb.webpack[javascript/auto]!=!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[8].use[0]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[8].use[1]!./node_modules/rails-erb-loader/index.js!./node_modules/rails-erb-loader/index.js??ruleSet[1].rules[5].use[0]!./app/frontend/plugins.scss.erb)
Module build failed (from ./node_modules/rails-erb-loader/index.js):
Error: rails-erb-loader failed with code: 1
at ChildProcess. (/usr/src/app/node_modules/rails-erb-loader/index.js:128:16)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Socket. (node:internal/child_process:451:11)
at Socket.emit (node:events:527:28)
at Pipe. (node:net:709:12)
@ ./app/frontend/plugins.scss.erb

ERROR in ./app/frontend/plugins.scss.erb
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/rails-erb-loader/index.js):
Error: rails-erb-loader failed with code: 1
at ChildProcess. (/usr/src/app/node_modules/rails-erb-loader/index.js:128:16)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Socket. (node:internal/child_process:451:11)
at Socket.emit (node:events:527:28)
at Pipe. (node:net:709:12)
at tryRunOrWebpackError (/usr/src/app/node_modules/webpack/lib/HookWebpackError.js:88:9)
at webpack_require_module (/usr/src/app/node_modules/webpack/lib/Compilation.js:5049:12)
at webpack_require (/usr/src/app/node_modules/webpack/lib/Compilation.js:5006:18)
at /usr/src/app/node_modules/webpack/lib/Compilation.js:5077:20
at symbolIterator (/usr/src/app/node_modules/neo-async/async.js:3485:9)
at done (/usr/src/app/node_modules/neo-async/async.js:3527:9)
at Hook.eval [as callAsync] (eval at create (/usr/src/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), :15:1)
at /usr/src/app/node_modules/webpack/lib/Compilation.js:4984:43
at symbolIterator (/usr/src/app/node_modules/neo-async/async.js:3482:9)
at timesSync (/usr/src/app/node_modules/neo-async/async.js:2297:7)
– inner error –
Error: Module build failed (from ./node_modules/rails-erb-loader/index.js):
Error: rails-erb-loader failed with code: 1
at ChildProcess. (/usr/src/app/node_modules/rails-erb-loader/index.js:128:16)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Socket. (node:internal/child_process:451:11)
at Socket.emit (node:events:527:28)
at Pipe. (node:net:709:12)
at Object. (/usr/src/app/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!/usr/src/app/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!/usr/src/app/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[8].use[0]!/usr/src/app/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[8].use[1]!/usr/src/app/node_modules/rails-erb-loader/index.js!/usr/src/app/node_modules/rails-erb-loader/index.js??ruleSet[1].rules[5].use[0]!/usr/src/app/app/frontend/plugins.scss.erb:1:7)
at /usr/src/app/node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js:441:11
at Hook.eval [as call] (eval at create (/usr/src/app/node_modules/tapable/lib/HookCodeFactory.js:19:10), :7:1)
at /usr/src/app/node_modules/webpack/lib/Compilation.js:5051:39
at tryRunOrWebpackError (/usr/src/app/node_modules/webpack/lib/HookWebpackError.js:83:7)
at webpack_require_module (/usr/src/app/node_modules/webpack/lib/Compilation.js:5049:12)
at webpack_require (/usr/src/app/node_modules/webpack/lib/Compilation.js:5006:18)
at /usr/src/app/node_modules/webpack/lib/Compilation.js:5077:20
at symbolIterator (/usr/src/app/node_modules/neo-async/async.js:3485:9)
at done (/usr/src/app/node_modules/neo-async/async.js:3527:9)

Generated code for /usr/src/app/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!/usr/src/app/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!/usr/src/app/node_modules/resolve-url-loader/index.js??ruleSet[1].rules[8].use[0]!/usr/src/app/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[8].use[1]!/usr/src/app/node_modules/rails-erb-loader/index.js!/usr/src/app/node_modules/rails-erb-loader/index.js??ruleSet[1].rules[5].use[0]!/usr/src/app/app/frontend/plugins.scss.erb
1 | throw new Error(« Module build failed (from ./node_modules/rails-erb-loader/index.js):\nError: rails-erb-loader failed with code: 1\n at ChildProcess. (/usr/src/app/node_modules/rails-erb-loader/index.js:128:16)\n at ChildProcess.emit (node:events:527:28)\n at maybeClose (node:internal/child_process:1092:16)\n at Socket. (node:internal/child_process:451:11)\n at Socket.emit (node:events:527:28)\n at Pipe. (node:net:709:12) »);

webpack 5.70.0 compiled with 3 errors in 15531 ms

/usr/src/app/app/controllers/users/omniauth_callbacks_controller.rb:9:in <class:OmniauthCallbacksController>': undefined method strategy_name’ for #AuthProvider::SimpleAuthProvider:0x00007f954986c028 (NoMethodError)
from /usr/src/app/app/controllers/users/omniauth_callbacks_controller.rb:4:in <main>' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in register’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in block in require' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:257:in load_dependency’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in require' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:378:in block in require_or_load’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:37:in block in load_interlock' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies/interlock.rb:14:in block in loading’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/concurrency/share_lock.rb:151:in exclusive' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies/interlock.rb:13:in loading’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:37:in load_interlock' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:356:in require_or_load’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:49:in block in require_or_load' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:17:in allow_bootsnap_retry’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:48:in require_or_load' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:334:in depend_on’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:86:in depend_on' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:246:in require_dependency’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:478:in block (2 levels) in eager_load!' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:477:in each’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:477:in block in eager_load!' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:475:in each’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:475:in eager_load!' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:356:in eager_load!’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/application/finisher.rb:69:in each' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/application/finisher.rb:69:in block in module:Finisher
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/initializable.rb:32:in instance_exec' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/initializable.rb:32:in run’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/initializable.rb:61:in block in run_initializers' from /usr/local/lib/ruby/2.6.0/tsort.rb:228:in block in tsort_each’
from /usr/local/lib/ruby/2.6.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' from /usr/local/lib/ruby/2.6.0/tsort.rb:431:in each_strongly_connected_component_from’
from /usr/local/lib/ruby/2.6.0/tsort.rb:349:in block in each_strongly_connected_component' from /usr/local/lib/ruby/2.6.0/tsort.rb:347:in each’
from /usr/local/lib/ruby/2.6.0/tsort.rb:347:in call' from /usr/local/lib/ruby/2.6.0/tsort.rb:347:in each_strongly_connected_component’
from /usr/local/lib/ruby/2.6.0/tsort.rb:226:in tsort_each' from /usr/local/lib/ruby/2.6.0/tsort.rb:205:in tsort_each’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/initializable.rb:60:in run_initializers' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/application.rb:361:in initialize!’
from /usr/src/app/config/environment.rb:5:in <main>' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in register’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in block in require' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:257:in load_dependency’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in require' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/application.rb:337:in require_environment!’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/command/actions.rb:28:in require_environment!' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/command/actions.rb:15:in require_application_and_environment!’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/commands/runner/runner_command.rb:29:in perform' from /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in run’
from /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in invoke_command' from /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in dispatch’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/command/base.rb:69:in perform' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/command.rb:46:in invoke’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/commands.rb:18:in <main>' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in register’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in block in require' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:257:in load_dependency’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in require' from bin/rails:4:in
/usr/src/app/app/controllers/users/omniauth_callbacks_controller.rb:9:in <class:OmniauthCallbacksController>': undefined method strategy_name’ for #AuthProvider::SimpleAuthProvider:0x00007f328bd34158 (NoMethodError)
from /usr/src/app/app/controllers/users/omniauth_callbacks_controller.rb:4:in <main>' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in register’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in block in require' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:257:in load_dependency’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in require' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:378:in block in require_or_load’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:37:in block in load_interlock' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies/interlock.rb:14:in block in loading’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/concurrency/share_lock.rb:151:in exclusive' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies/interlock.rb:13:in loading’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:37:in load_interlock' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:356:in require_or_load’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:49:in block in require_or_load' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:17:in allow_bootsnap_retry’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:48:in require_or_load' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:334:in depend_on’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:86:in depend_on' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:246:in require_dependency’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:478:in block (2 levels) in eager_load!' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:477:in each’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:477:in block in eager_load!' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:475:in each’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:475:in eager_load!' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/engine.rb:356:in eager_load!’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/application/finisher.rb:69:in each' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/application/finisher.rb:69:in block in module:Finisher
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/initializable.rb:32:in instance_exec' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/initializable.rb:32:in run’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/initializable.rb:61:in block in run_initializers' from /usr/local/lib/ruby/2.6.0/tsort.rb:228:in block in tsort_each’
from /usr/local/lib/ruby/2.6.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' from /usr/local/lib/ruby/2.6.0/tsort.rb:431:in each_strongly_connected_component_from’
from /usr/local/lib/ruby/2.6.0/tsort.rb:349:in block in each_strongly_connected_component' from /usr/local/lib/ruby/2.6.0/tsort.rb:347:in each’
from /usr/local/lib/ruby/2.6.0/tsort.rb:347:in call' from /usr/local/lib/ruby/2.6.0/tsort.rb:347:in each_strongly_connected_component’
from /usr/local/lib/ruby/2.6.0/tsort.rb:226:in tsort_each' from /usr/local/lib/ruby/2.6.0/tsort.rb:205:in tsort_each’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/initializable.rb:60:in run_initializers' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/application.rb:361:in initialize!’
from /usr/src/app/config/environment.rb:5:in <main>' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in register’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in block in require' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:257:in load_dependency’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in require' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/application.rb:337:in require_environment!’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/command/actions.rb:28:in require_environment!' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/command/actions.rb:15:in require_application_and_environment!’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/commands/runner/runner_command.rb:29:in perform' from /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in run’
from /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in invoke_command' from /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in dispatch’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/command/base.rb:69:in perform' from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/command.rb:46:in invoke’
from /usr/local/bundle/gems/railties-5.2.8.1/lib/rails/commands.rb:18:in <main>' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in register’
from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi' from /usr/local/bundle/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in block in require' from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:257:in load_dependency’
from /usr/local/bundle/gems/activesupport-5.2.8.1/lib/active_support/dependencies.rb:291:in require' from bin/rails:4:in
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:

Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:

[/code]

Est-ce bien ce problème-ci ?

Ceci est une erreur caractéristique du fait que la tâche db:seed n’a pas été faite, alors qu’elle est lancée juste avant la compilation des assets, lors de l’installation.

Si tu peux retrouver les logs juste avant, il doit y avoir une autre erreur, sinon tu peux essayer de relancer à la main la commande suivante et poster le résultat ici :

EMAIL="admin@example.com"
PASSWORD="Passw0rd+MdP"
docker compose run --rm fabmanager -e ADMIN_EMAIL="$EMAIL" -e ADMIN_PASSWORD="$PASSWORD" bundle exec rails db:seed

Effectivement, j’avais une erreur lors de la configuration des variables d’environnements.

J’ai relancé le script \curl -sSL setup.fab.mn | bash

Pour reconfigurer la partie des variables d’environnement. We will now configure the environment variables. This allows you to customize Fab-manager's appearance and behavior.
comme paramètres suivants :

DEFAULT_host -> https
DEFAULT_PROTOCOL -> https
ADMINSYS_EMAIL -> "admin@exemple.com"

j’ai binge enter pour skip le menu de configuration puis en suivant le script classiquement , la compilation à réussi.

@Sylvain merci pour ton aide à débugué ça ma permis d’ouvrir les yeux sur certains logs …

1 « J'aime »