Sorry, I write the correct command (I copy and paste like instructions), but it doesn´t works.
git fetch fails when trying to upgrade 0.9.3 -> 0.9.4
Pilvinen last edited by
I'm trying to upgrade 0.9.3 to 0.9.4:
"fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)."
I seem to be missing .git directory.
Pilvinen last edited by Pilvinen
Hm, it's now showing 0.9.4 after I cloned another nodebb with:
git clone -b v0.9.3 https://github.com/NodeBB/NodeBB.git nodebb
Then moved .git from that installation to my forum nodebb.
Then I ran:
git checkout -f v0.9.x
git merge origin/v0.9.x
And ran ./nodebb upgrade
And ran npm install + npm update a few times.
I have no idea what all of this is supposed to do but since ACP is now showing 0.9.4 I suppose it's all right, right?
Please update the upgrade instructions - It doesn't seem like those git commands really do anything meaningful ... and there is no mention of npm update which eventually seemed to fix the issues I was having with Nodebb not updating...
If correctly installed, the
.gitdirectory would be there. Maybe you've copied "everything" within the NodeBB directory at one time and since directories starting with
.are hidden by default, you've lost this during it.
And if the
.gitdirectory is there, the update commands within the docs make sense.
npm update(more specific
npm install --production, which does include package update) gets called during the