Comments (3)
Running the compose file that you provided above, I can see that FXServer is launched with the following cmdline
/opt/cfx-server/ld-musl-x86_64.so.1 --library-path /usr/lib/v8/:/lib/:/usr/lib/ -- /opt/cfx-server/FXServer +set citizen_dir /opt/cfx-server/citizen/ +set sv_licenseKey foo
The container logs contain this for me
[ c-server-monitor] _______ ______
[ c-server-monitor] | ___\ \/ / ___| ___ _ ____ _____ _ __
[ c-server-monitor] | |_ \ /\___ \ / _ \ '__\ \ / / _ \ '__|
[ c-server-monitor] | _| / \ ___) | __/ | \ V / __/ |
[ c-server-monitor] |_| /_/\_\____/ \___|_| \_/ \___|_|
[ c-server-monitor] -------------------------------- monitor ---
[ c-server-monitor]
[ c-scripting-core] Creating script environments for monitor
[19:31:04][tx:v7.1.0] Profile 'default' starting...
[19:31:05][tx:SetupProfile] =========================================================
[19:31:05][tx:SetupProfile] Creating new profile folder...
[19:31:05][tx:SetupProfile] Server profile was saved in '/txData/default'
[19:31:05][tx:SetupProfile] =========================================================
[19:31:05][tx:WebServer] Listening on 0.0.0.0.
[19:31:05][tx]
[19:31:05][tx] ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
[19:31:05][tx] ┃ ┃
[19:31:05][tx] ┃ All ready! Please access: ┃
[19:31:05][tx] ┃ http://your-public-ip:40120/ ┃
[19:31:05][tx] ┃ ┃
[19:31:05][tx] ┃ Use the PIN below to register: ┃
[19:31:05][tx] ┃ 5770 ┃
[19:31:05][tx] ┃ ┃
[19:31:05][tx] ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
[19:31:05][tx]
[19:31:05][tx] To be able to access txAdmin from the internet open port 40120
[19:31:05][tx] on your OS Firewall as well as in the hosting company.
[19:31:05][tx:FXRunner] Please open txAdmin on the browser to configure your server.
[19:31:31][tx:AdminVault] Use this PIN to add a new master account: 5770
[19:31:34][tx:PlayerDatabase] Internal Database optimized. This applies only for the txAdmin internal database, and does not affect your MySQL or framework (ESX/QBCore/etc) databases.
[19:31:34][tx:PlayerDatabase] - 0 players that haven't connected in the past 16 days and had less than 2 hours of playtime.
[19:31:34][tx:PlayerDatabase] - 0 whitelist requests older than a week.
[19:31:34][tx:PlayerDatabase] - 0 whitelist approvals older than a week.
I don't really know much about how fivem works, but I can see that the sv_licenseKey
value is being set correctly as the error message says it should be:
/config # tr '\0' '\n' < /proc/7/cmdline
/opt/cfx-server/ld-musl-x86_64.so.1
--library-path
/usr/lib/v8/:/lib/:/usr/lib/
--
/opt/cfx-server/FXServer
+set
citizen_dir
/opt/cfx-server/citizen/
+set
sv_licenseKey
foo
from fivem.
Ignore what I said above; we worked this out.
It's expected that the $LICENSE_KEY
variable isn't passed through; you have to set it in the txadmin UI
from fivem.
The latest container build will now fail to start in this case. Remove the $LICENSE_KEY
variable and set it in the txadmin webui
from fivem.
Related Issues (20)
- I am trying restart script in fivem start.bat HOT 1
- I am trying restart script in fivem start.bat but i seen couldn't find resource script HOT 1
- Building resource webpack failed. Error data: yarn failed. HOT 2
- Entrypoint doesn't pass on SIGKILL to FiveM
- No archive resource in Dockerfile HOT 1
- Outdated version HOT 1
- [QUESTION] Could the webUI be added back to this? HOT 2
- Latest FiveM Version isn't working at container runtime HOT 1
- Fivem problem HOT 2
- README needs txAdmin volume information
- [ citizen-server-impl] Couldn't find resource category [vehicles]. HOT 1
- Change TX admin port HOT 1
- Server keeps restarting for yarn install HOT 1
- Timezone HOT 2
- Yarn in Server Fivem HOT 1
- Adding Scripts to FxServer HOT 1
- Tutorial how to setup DB and resources? HOT 1
- Webpack is busy HOT 1
- POLICE / BODYGUARD PEDS don't shoot when onesync off HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fivem.