Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Technical Support
  3. Migrating NodeBB getting errors.

Migrating NodeBB getting errors.

Scheduled Pinned Locked Moved Technical Support
17 Posts 4 Posters 1 Views
  • 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.
  • C cwsmith@community.nodebb.org

    Right now I am trying to get a nodebb forum migrated to a new server. But right now I am getting an error that says.

    ERROR: You specified an invalid date.

    I have been unable to figure out how to fix this and could use some help.

    baris@community.nodebb.orgB This user is from outside of this forum
    baris@community.nodebb.orgB This user is from outside of this forum
    baris@community.nodebb.org
    wrote on last edited by
    #8

    Doesn't look like it shows anything new. Did you restart nodebb after adding the console.log?

    C 1 Reply Last reply
    0
    • baris@community.nodebb.orgB baris@community.nodebb.org

      Doesn't look like it shows anything new. Did you restart nodebb after adding the console.log?

      C This user is from outside of this forum
      C This user is from outside of this forum
      cwsmith@community.nodebb.org
      wrote on last edited by
      #9

      @baris

      I did. Not even sure why this is coming up sinxe that databse and the code was working properly on another server without this particular error.

      Could I have missinstalled something?

      1 Reply Last reply
      0
      • C cwsmith@community.nodebb.org

        Right now I am trying to get a nodebb forum migrated to a new server. But right now I am getting an error that says.

        ERROR: You specified an invalid date.

        I have been unable to figure out how to fix this and could use some help.

        baris@community.nodebb.orgB This user is from outside of this forum
        baris@community.nodebb.orgB This user is from outside of this forum
        baris@community.nodebb.org
        wrote on last edited by
        #10

        You can always try running ./nodebb upgrade and try again, but your error is weird because it is coming from the cron dependency and it's complaining about an invalid date being passed to it.

        await cron.addJob({
        	name: 'notifications:prune',
        	cronTime: '*/30 * * * *',
        	onTick: Notifications.prune,
        });
        

        However the line it points to in our code uses a valid cron string, which works on this forum and my local environment.

        1 Reply Last reply
        0
        • C cwsmith@community.nodebb.org

          Right now I am trying to get a nodebb forum migrated to a new server. But right now I am getting an error that says.

          ERROR: You specified an invalid date.

          I have been unable to figure out how to fix this and could use some help.

          baris@community.nodebb.orgB This user is from outside of this forum
          baris@community.nodebb.orgB This user is from outside of this forum
          baris@community.nodebb.org
          wrote on last edited by
          #11

          What is your nodejs version?

          1 Reply Last reply
          0
          • C This user is from outside of this forum
            C This user is from outside of this forum
            cwsmith@community.nodebb.org
            wrote on last edited by
            #12

            24.14.0 running on Gentoo linux

            1 Reply Last reply
            0
            • julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.org
              wrote on last edited by
              #13

              @CWSmith that log isn't showing enough.

              Instead of ./nodebb log can you open the log in something like nano so you can see more?

              1 Reply Last reply
              0
              • C This user is from outside of this forum
                C This user is from outside of this forum
                cwsmith@community.nodebb.org
                wrote on last edited by
                #14

                All I see are just blocks of this error over and over in logs/output.log

                NodeBB v4.13.2 Copyright (C) 2013-2026 NodeBB Inc.      This program comes with ABSOLUTELY NO WARRANTY.
                This is free software, and you are welcome to redistrib>For the full license, please visit: http://www.gnu.org/>                                                        Clustering enabled: Spinning up 1 process(es).
                
                2026-07-05T16:37:19.790Z [4567/85498] - ^[[32minfo^[[39>
                2026-07-05T16:37:20.749Z [4567/85498] - ^[[33mwarn^[[39>
                2026-07-05T16:37:20.921Z [4567/85498] - ^[[32minfo^[[39>
                2026-07-05T16:37:20.980Z [4567/85498] - ^[[32minfo^[[39>
                2026-07-05T16:37:20.988Z [4567/85498] - ^[[32minfo^[[39>
                2026-07-05T16:37:21.013Z [4567/85498] - ^[[31merror^[[3>
                    at CronTime.getNextDateFrom (/var/www/community.dar>
                    at CronTime.sendAt (/var/www/community.darkscribes.>
                    at CronTime.getTimeout (/var/www/community.darkscri>
                    at CronJob.start (/var/www/community.darkscribes.co>
                    at new CronJob (/var/www/community.darkscribes.com/>
                    at exports.addJob (/var/www/community.darkscribes.c>
                    at Analytics.init (/var/www/community.darkscribes.c>
                    at Object.wrapperCallback [as init] (/var/www/commu>
                    at initializeNodeBB (/var/www/community.darkscribes>
                    at process.processTicksAndRejections (node:internal>
                [cluster] Child Process (85498) has exited (code: 0, si>
                
                NodeBB v4.13.2 Copyright (C) 2013-2026 NodeBB Inc.
                This program comes with ABSOLUTELY NO WARRANTY.
                This is free software, and you are welcome to redistrib>
                For the full license, please visit: http://www.gnu.org/>
                
                Clustering enabled: Spinning up 1 process(es)
                

                I am still on Gentoo Linux so if I missed a use flag I can fix it. Just need a use flag.

                julian@activitypub.spaceJ 1 Reply Last reply
                0
                • C cwsmith@community.nodebb.org

                  All I see are just blocks of this error over and over in logs/output.log

                  NodeBB v4.13.2 Copyright (C) 2013-2026 NodeBB Inc.      This program comes with ABSOLUTELY NO WARRANTY.
                  This is free software, and you are welcome to redistrib>For the full license, please visit: http://www.gnu.org/>                                                        Clustering enabled: Spinning up 1 process(es).
                  
                  2026-07-05T16:37:19.790Z [4567/85498] - ^[[32minfo^[[39>
                  2026-07-05T16:37:20.749Z [4567/85498] - ^[[33mwarn^[[39>
                  2026-07-05T16:37:20.921Z [4567/85498] - ^[[32minfo^[[39>
                  2026-07-05T16:37:20.980Z [4567/85498] - ^[[32minfo^[[39>
                  2026-07-05T16:37:20.988Z [4567/85498] - ^[[32minfo^[[39>
                  2026-07-05T16:37:21.013Z [4567/85498] - ^[[31merror^[[3>
                      at CronTime.getNextDateFrom (/var/www/community.dar>
                      at CronTime.sendAt (/var/www/community.darkscribes.>
                      at CronTime.getTimeout (/var/www/community.darkscri>
                      at CronJob.start (/var/www/community.darkscribes.co>
                      at new CronJob (/var/www/community.darkscribes.com/>
                      at exports.addJob (/var/www/community.darkscribes.c>
                      at Analytics.init (/var/www/community.darkscribes.c>
                      at Object.wrapperCallback [as init] (/var/www/commu>
                      at initializeNodeBB (/var/www/community.darkscribes>
                      at process.processTicksAndRejections (node:internal>
                  [cluster] Child Process (85498) has exited (code: 0, si>
                  
                  NodeBB v4.13.2 Copyright (C) 2013-2026 NodeBB Inc.
                  This program comes with ABSOLUTELY NO WARRANTY.
                  This is free software, and you are welcome to redistrib>
                  For the full license, please visit: http://www.gnu.org/>
                  
                  Clustering enabled: Spinning up 1 process(es)
                  

                  I am still on Gentoo Linux so if I missed a use flag I can fix it. Just need a use flag.

                  julian@activitypub.spaceJ This user is from outside of this forum
                  julian@activitypub.spaceJ This user is from outside of this forum
                  julian@activitypub.space
                  wrote on last edited by
                  #15

                  @cwsmith@community.nodebb.org I would recommend you try to add in the console log that @baris@community.nodebb.org suggested so we can see the cron value being passed in.

                  Judging by your logs they're not showing anything output 🤔

                  Can you make the edit and let us know what kind of logging you added as well?

                  1 Reply Last reply
                  0
                  • C This user is from outside of this forum
                    C This user is from outside of this forum
                    cwsmith@community.nodebb.org
                    wrote on last edited by
                    #16

                    Ok, just one question.

                    Where do I find the console.log you are asking for?

                    julian@community.nodebb.orgJ 1 Reply Last reply
                    0
                    • C cwsmith@community.nodebb.org

                      Ok, just one question.

                      Where do I find the console.log you are asking for?

                      julian@community.nodebb.orgJ This user is from outside of this forum
                      julian@community.nodebb.orgJ This user is from outside of this forum
                      julian@community.nodebb.org
                      wrote on last edited by
                      #17

                      @CWSmith you'll have to edit the actual file and add it in yourself 🙂

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups