Page MenuHome

Unable to run Flamenco Manager after setup
Closed, ResolvedPublic

Description

Version:
Flamenco-manager 2.3

  1. Launched ./flamenco-manager -setup , and opened UI in web browser
  2. After pressing "save configuration" several times, two addition lines with "variable-name" was added.
  3. Then stoped ./flamenco-manager -setup and i tried to launch ./flamenco-manager received this error:
Variable defined as both regular and path replacement variable  variable=variable-name
Unable to load configuration                  error="duplicate variables found"
  1. After this can't launch setup again

Here is a console log:

design@design-MS-7850:~/flamenco-manager-2.3$ ./flamenco-manager -setup
INFO[2019-02-25T13:38:20+03:00] Starting Flamenco Manager                     version=2.3
WARN[2019-02-25T13:38:20+03:00] Flamenco Manager configuration file not found, entering setup mode. 
WARN[2019-02-25T13:38:20+03:00] no Flamenco Server URL configured            
INFO[2019-02-25T13:38:20+03:00] Entering setup mode                          
INFO[2019-02-25T13:38:20+03:00] Point your browser at any of these URLs:     
INFO[2019-02-25T13:38:20+03:00]   - http://192.168.17.124:8083/setup         
WARN[2019-02-25T13:38:20+03:00] HTTP server stopped                           error="listen tcp :8083: bind: address already in use"
INFO[2019-02-25T13:38:20+03:00] Waiting for shutdown to complete.            
^CINFO[2019-02-25T13:49:38+03:00] Signal received, shutting down.               signal=interrupt
INFO[2019-02-25T13:49:38+03:00] Shutting down HTTP server                    
WARN[2019-02-25T13:49:38+03:00] Shutdown complete, stopping process.         
design@design-MS-7850:~/flamenco-manager-2.3$ ./flamenco-manager 
INFO[2019-02-25T13:49:40+03:00] Starting Flamenco Manager                     version=2.3
ERRO[2019-02-25T13:49:40+03:00] Variable defined as both regular and path replacement variable  variable=variable-name
FATA[2019-02-25T13:49:40+03:00] Unable to load configuration                  error="duplicate variables found"
design@design-MS-7850:~/flamenco-manager-2.3$ ./flamenco-manager -setup
INFO[2019-02-25T13:49:51+03:00] Starting Flamenco Manager                     version=2.3
ERRO[2019-02-25T13:49:51+03:00] Variable defined as both regular and path replacement variable  variable=variable-name
FATA[2019-02-25T13:49:51+03:00] Unable to load configuration                  error="duplicate variables found"

Details

Type
Bug

Event Timeline

There are two things wrong:

  • Variable defined as both regular and path replacement variable variable=variable-name: You have a variable variable-name defined both as 'variable' and 'path replacement variable', and that's not supposed to happen.
  • HTTP server stopped; error="listen tcp :8083: bind: address already in use": something is already using that port. Possibly Flamenco Manager running in the background?
Sybren A. Stüvel (sybren) triaged this task as Normal priority.Feb 26 2019, 12:04 PM

I can confirm the first issue; there is a regression bug in Flamenco Manager 2.3 that causes this duplicate variable.

Please try [Flamenco Manager 2.4-dev6](flamenco.io/download/flamenco-manager-2.4-dev6-linux.tar.gz). If you go to setup mode (./flamenco-manager -verbose -setup) and re-save your configuration, it should automagically remove the variable-name variable for you.

When Flamenco Manager restarts (e.g. when you click the 'restart' button in the setup mode web interface), it does so in the background.

Yes it helps. Looks like i can launch it now.

Sybren A. Stüvel (sybren) claimed this task.