Comments (7)
I have the same issue, and my server worked just fine on 1626, so I'm going to revert to that tag (and I recommend you do the same). Unfortunately, I'm not sure which of the recent commits resulted in this issue, but I would assume that FiveM 1629's file structure differs from the previous structure (given that no recent commits have changed the file structure of the container significantly).
from fivem.
Thanks a ton, I've pinned to 1626 and it seems to be working. I look forward to updating to latest once this is resolved.
from fivem.
So I can't quite work out what they changed but from what I can tell, the latest build works just fine for me? Did you pull?
frebib@frebib-PC /t/tmp.6vt2z6l0EI> cat docker-compose.yml
version: '3'
services:
fivem:
image: spritsail/fivem
container_name: fivem
restart: on-failure
stdin_open: true
tty: true
volumes:
- .:/config
ports:
- "30120:30120"
- "30120:30120/udp"
environment:
LICENCE_KEY: <snip>
frebib@frebib-PC /t/tmp.6vt2z6l0EI> docker-compose pull
Pulling fivem ... done
frebib@frebib-PC /t/tmp.6vt2z6l0EI> docker-compose up
Recreating fivem ... done
Attaching to fivem
fivem | Resolved live-internal.fivem.net:30110 to 178.32.9.100:30110
fivem | Creating script environments for _cfx_internal
fivem | Found new resource webadmin in /opt/cfx-server/citizen//system_resources//webadmin
fivem | Couldn't find resource sessionmanager.
fivem | Creating script environments for webadmin
fivem | Instantiated instance of script FxWebAdmin.BaseServer.
fivem | Instantiated instance of script FxWebAdmin.HttpServer+HttpServerScript.
fivem | Started resource webadmin
fivem | No such config file: /config/server.cfg
fivem | Authenticating server license key...
fivem | Server license key authentication succeeded. Welcome!
fivem | cfx> Sending heartbeat to live-internal.fivem.net:30110
fivem | Authenticating with Nucleus...
fivem | server thread hitch warning: timer interval of 1083 milliseconds
fivem | fff
fivem | cccc ff xx xx rr rr eee
fivem | cc ffff xx rrr r ee e
fivem | cc ff xx ... rr eeeee
fivem | ccccc ff xx xx ... rr eeeee
fivem |
fivem | Authenticated with cfx.re Nucleus: https://frebib-n4ayev.cfx.re/
fivem | Saved GeoLite2-Country to /opt/cfx-server/citizen//system_resources//webadmin/GeoLite2-Country.mmdb.
^C
Gracefully stopping... (press Ctrl+C again to force)
Stopping fivem ... done
from fivem.
I apologize for not responding to this sooner; the server that I am hosting needs to remain on 1626 for other reasons, so I wasn't paying attention to this issue. @frebib The output you posted indicates the same exact error that we encountered (note the line fivem | Couldn't find resource sessionmanager.
, and the fact that the only resource that actually loaded was webadmin
). The issue is not in the docker-compose.yml
, because I had the issue without using compose at all.
from fivem.
I'm going to try updating to the newest build, but if that doesn't work then I'm out of ideas. We're literally ripping their build environment and packaging it into a container, with no other changes. If it doesn't work then I suppose we'll have to open an issue upstream because I can't see anything else that we can change; although they really don't make "support" easy- I can't seem to find any semi-competent channels to converse over
from fivem.
According to the documentation, you should cd server-data
, but if the cwd is not /opt/cfx-server
then it fails to find the components.json. 🤷♂️
https://docs.fivem.net/server-manual/setting-up-a-server/
from fivem.
I think I've now solved this one. A combination of a workaround we implemented coming back to bite us, and some unannounced changes to the server.cfg file by the FiveM team was the root cause. If you are using existing configs, please note the changes made to server.cfg
I'll leave this issue open for a few days, as although the server logs look good, I don't have access to a FiveM client right now to verify clients can connect. @bbhoss or @Phyremaster could you confirm if possible? Thanks
from fivem.
Related Issues (20)
- Couldn't find resource (*) HOT 4
- Adding enforceGameBuild Env HOT 3
- 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
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.