Giter VIP home page Giter VIP logo

Comments (4)

ocelik94 avatar ocelik94 commented on June 15, 2024

I think I found the failure. Could it be that the administrator password prompt is new?

server-1  | LOG  : General     , 1715161996426> 49,102,591> Enter new administrator password: 
server-1  | LOG  : General     , 1715161996426> 49,102,592> Confirm the password: 

I tried setting the password manually with ./pzserver console and after that the server seems to start correctly

from linuxgsm.

albertovecina avatar albertovecina commented on June 15, 2024

Hi @ocelik94 I'm new using docker (and project zomboid). Could you explain how to set the password step by step? Thanks!

from linuxgsm.

ocelik94 avatar ocelik94 commented on June 15, 2024

Hey @albertovecina,
there are probably different ways to do that.

You could attack to the container with docker attach <container_id> or open a bash inside the container with docker compose exec -it --user linuxgsm server bash and run the server manually once with interactive shell ./pzserver start

After setting the password initially it will work as long you use the same save

from linuxgsm.

irobot73 avatar irobot73 commented on June 15, 2024

It's not 100% obvious, but you can update the /data/config-lgsm/pzserver/_defautls.cfg

## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0"
adminpassword="CHANGE_ME"

Though, better to copy the relevant sections into the .../common.cfg instead & modify as you wish.

## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
adminusername="pz_admin"
adminpassword="{password_here}"
selfname=pzserver

## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
#
#
# First run (will create & sync account created for admin, any default 'admin' should be disabled in DB)
#startparameters="-servername ${selfname} -adminusername \"${adminusername}\" -adminpassword \"${adminpassword}\""
#
# Standard LGSM
startparameters="-servername ${selfname} -adminusername \"${adminusername}\""

Here I've run once to setup the ADMIN w/ the PW I choose, then reverse the '#' & everything after uses the 'Standard LGSM' (else, IIRC, it'll keep asking to create the default 'ADMIN' account)...which I don't want.

from linuxgsm.

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.