• CoD4xAdmin
  • Recent
  • Popular
  • Groups
  • Users
  • Register
  • Login
Cirkus Serveri Forum
  • CoD4xAdmin
  • Recent
  • Popular
  • Groups
  • Users
  • Register
  • Login

HELP ME WITH THIS PROBLEM

Scheduled Pinned Locked Moved
Support
cod4xwebadmin
2
3
794
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    MarkKinG
    last edited by 8 Apr 2020, 07:44

    gg.png

    1 Reply Last reply Reply Quote 0
    • N
      NeHo Administrators
      last edited by 8 Apr 2020, 14:04

      Have you populated the database with default data, is this a fresh install?

      This seems to me that you have no default data, so you would need to add it to MongoDB

      6. Seed/populate the MongoDB with some default data

      Navigate in terminal(putty) to the applications seed folder

      cd /var/www/html/app/seed
      

      Seed/Populate the MongoDB

      nodejs dbseed.js
      

      If this doesn't work change this line in dbseed.js on your server

      https://github.com/byNeHo/CoD4x-WebAdmin/blob/master/app/seed/dbseed.js#L10

      to this

      mongoose.connect(dbURI, {useNewUrlParser:true});
      

      I have removed this part " , useUnifiedTopology: true "

      After you remove ", useUnifiedTopology: true" from that line try to run again this part

      Navigate in terminal(putty) to the applications seed folder

      cd /var/www/html/app/seed
      

      Seed/Populate the MongoDB

      nodejs dbseed.js
      

      I keep hitting the 'Escape' key - but I'm still here. ...

      1 Reply Last reply Reply Quote 0
      • M
        MarkKinG
        last edited by 5 May 2020, 18:01

        Thank You Bro

        1 Reply Last reply Reply Quote 0
        • N NeHo referenced this topic on 29 Jul 2022, 08:20
        • First post
          Last post

        0

        Online

        191

        Users

        268

        Topics

        1.2k

        Posts
        Powered & Designed by NeHo