Giter Site home page Giter Site logo

Couldn't find resources about fivem HOT 7 CLOSED

spritsail avatar spritsail commented on July 29, 2024
Couldn't find resources

from fivem.

Comments (7)

Phyremaster avatar Phyremaster commented on July 29, 2024

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.

bbhoss avatar bbhoss commented on July 29, 2024

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.

frebib avatar frebib commented on July 29, 2024

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.

Phyremaster avatar Phyremaster commented on July 29, 2024

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.

frebib avatar frebib commented on July 29, 2024

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.

frebib avatar frebib commented on July 29, 2024

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.

Adam-Ant avatar Adam-Ant commented on July 29, 2024

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)

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.