Skip to content

Authentication Issues (development branch) #247

@zfouts

Description

@zfouts

First off, I understand using the development branch (or develop tag with docker) isn't supported in any way shape or form. I have not had the time to investigate the code to see what has changed between deployments from ~2 weeks ago to ~5 days ago.

I'm using docker image ofsm/ofsm:develop to get the latest version of factorio. Upon pulling a new version of this image I can no longer authenticate to the UI. I've tried both a working sqlite db from another server, and I've tried removing it. Same result.

Here's the current image:

ofsm/ofsm                                       develop                           63632186780e        40 hours ago        51.9MB

Here's how I am launching:

version: '2'
services:
  factorio:
    image: ofsm/ofsm:develop
    ports:
     - "192.168.1.57:80:80/tcp"
     - "34197:34197/udp"
    volumes:
     - /data/factorio-server-manager/saves:/opt/factorio/saves
     - /data/factorio-server-manager/config:/opt/factorio/config
     - /data/factorio-server-manager/mods:/opt/factorio/mods
     - /data/factorio-server-manager/fsm-data:/opt/fsm-data

Here's my data structure (pre-launch):

.
├── config
│   ├── server-adminlist.json
│   └── server-settings.json
├── docker-compose.yml
├── fsm-data
├── mods
│   ├── even-distribution_1.0.7.zip
│   ├── mod-list.json
│   ├── mod-settings.dat
│   └── sonaxaton-infinite-resources_0.4.7.zip
└── saves

4 directories, 7 files

Post launch

tree
.
├── config
│   ├── server-adminlist.json
│   └── server-settings.json
├── docker-compose.yml
├── fsm-data
│   ├── conf.json
│   └── sqlite.db
├── mods
│   ├── even-distribution_1.0.7.zip
│   ├── mod-list.json
│   ├── mod-settings.dat
│   └── sonaxaton-infinite-resources_0.4.7.zip
└── saves

Here's the output from docker compose:

Starting factorio-server-manager_factorio_1 ... done
Attaching to factorio-server-manager_factorio_1
factorio_1  |   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
factorio_1  |                                  Dload  Upload   Total   Spent    Left  Speed
100   447  100   447    0     0    626      0 --:--:-- --:--:-- --:--:--   626
100 48.5M  100 48.5M    0     0  27.5M      0  0:00:01  0:00:01 --:--:-- 80.4M
factorio_1  | 2021/01/29 17:15:52 CookieEncryptionKey invalid or empty, create new random one
factorio_1  | 2021/01/29 17:15:52 Rcon password default one or empty, generated new one:
factorio_1  | 2021/01/29 17:15:52 Password: XVlBzgbaiCMRAjWwhTHctcuA
factorio_1  | /opt/fsm/mod_packs
factorio_1  | 2021/01/29 17:15:52 Loaded Factorio settings from /opt/factorio/config/server-settings.json
factorio_1  | 2021/01/29 17:15:52 Created default admin user. Please change it's password as soon as possible.
factorio_1  | 2021/01/29 17:15:52 Username: admin
factorio_1  | 2021/01/29 17:15:52 Password: XhyyYsBIqrZvakMbZoMDwpMO
factorio_1  | 2021/01/29 17:15:52 Starting server on: 0.0.0.0:80

Screenshot is attached of chrome in incognito for sake of cookies, and output of terminal showing that it's succeeding a login, but not actually
output_fsm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions