• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • 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
v3.5.2 Latest
Buy Hosting

Update, "NodeBB could not be restarted, as a running instance could not be found." error

Scheduled Pinned Locked Moved Technical Support
7 Posts 3 Posters 1.0k 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 Offline
    C Offline
    ckubs
    wrote on last edited by
    #1

    Tried to update my site to 1.10.2. Don't think I followed the steps correctly. When I try to start and restart Nodebb as it is right now I get NodeBB could not be restarted, as a running instance could not be found.

    On the update part when I run git merge origin/v1.10.x I get :

    error: The following untracked working tree files would be overwritten by merge:
    	public/language/lv/admin/admin.json
    	public/language/lv/admin/advanced/cache.json
            ... and so on 
    

    Thankyou for any help.

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #2

    What guide are you following?

    C 2 Replies Last reply
    0
  • C Offline
    C Offline
    ckubs
    replied to PitaJ on last edited by
    #3

    @PitaJ The official documentation link from the admin box noticing me to update. https://docs.nodebb.org/configuring/upgrade/

    1 Reply Last reply
    0
  • C Offline
    C Offline
    ckubs
    replied to PitaJ on last edited by
    #4

    @PitaJ Running ./nodebb dev I get:
    error: Your NodeBB schema is out-of-date. Please run the following command to bring your dataset up to spec:

    And when I click the upgrade command I get this error on step 4:

    TypeError: topics.updateLastPostTimeFromLastPid is not a function
        at /home/admin/web/mywebsite/public_html/src/upgrades/1.10.2/fix_category_topic_zsets.js:31:14
        at nextTask (/home/admin/web/mywebsite/public_html/node_modules/async/dist/async.js:5324:14)
        at Immediate.next (/home/admin/web/mywebsite/public_html/node_modules/async/dist/async.js:5331:9)
        at Immediate._onImmediate (/home/admin/web/mywebsite/public_html/node_modules/async/dist/async.js:969:16)
        at runCallback (timers.js:810:20)
        at tryOnImmediate (timers.js:768:5)
        at processImmediate [as _immediateCallback] (timers.js:745:5)
    
    PKRomaP 1 Reply Last reply
    0
  • PKRomaP Offline
    PKRomaP Offline
    PKRoma Translator
    replied to ckubs on last edited by
    #5

    @ckubs The error "The following untracked working tree files would be overwritten by merge:" indicates that between the time that you last upgraded, and now, you have made some changes to the files in that list, and so the git command will not complete and you are not being upgraded. Have you been making changes to the Latvian translations? The best way to do that is through the Transifex localisation tool, and not by changing the public/language/lv files directly.

    The easiest fix for you, if you are happy to lose your changes, is to simply delete all the files that the error is complaining about. If it's only the Latvian files, then you can do 'rm -rf public/language/lv' and they will be gone.

    Alternatively, you can keep the Latvian files in another directory by doing 'mv public/language/lv public/language/my-lv'.

    Once the files are no longer in existence, after you do one of the previous steps or something similar, retry the upgrade procedure!

    Pēteris no Dublinas

    C 1 Reply Last reply
    0
  • C Offline
    C Offline
    ckubs
    replied to PKRoma on last edited by
    #6

    @PKRoma I'm not latvian. Nor did I changed any other file from the Nodebb error message. In the mean time just deleted latvian language and the rest of the files from that list and I could upgrade.

    PKRomaP 1 Reply Last reply
    0
  • PKRomaP Offline
    PKRomaP Offline
    PKRoma Translator
    replied to ckubs on last edited by
    #7

    @ckubs Excellent, I'm glad that went well!

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development