Unable to run Flamenco Manager after setup #61932

Closed
opened 2019-02-25 12:00:35 +01:00 by Michael Soluyanov · 7 comments

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"
**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" ``` 4. 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" ```

Added subscriber: @crantisz

Added subscriber: @crantisz

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

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?
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?

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

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. 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.

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.

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

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sybren A. Stüvel self-assigned this 2019-02-26 14:34:04 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#61932
No description provided.