How to Upgrade from v1.13.3 to v1.14.0?
-
Getting Like This. Why??
@administratorsfreesv@varun-deva:~/buforum$ git checkout v1.14.0 error: pathspec 'v1.14.0' did not match any file(s) known to git freesv@varun-deva:~/buforum$
-
@Varun-Ganesh-D said in How to Upgrade from v1.13.3 to v1.14.0?:
Getting Like This. Why??
@administratorsfreesv@varun-deva:~/buforum$ git checkout v1.14.0 error: pathspec 'v1.14.0' did not match any file(s) known to git freesv@varun-deva:~/buforum$
You didn't include it here. I'm guessing that you forgot to git fetch, which is what makes that possible.
-
@scottalanmiller said in How to Upgrade from v1.13.3 to v1.14.0?:
fetch
No, I Executed that command
See it.
I Cloned Heroku Repo to My Laptop.If I Execute the Same Command in Heroku Bash It Showing Different Error
-
@Varun-Ganesh-D said in How to Upgrade from v1.13.3 to v1.14.0?:
I Cloned Heroku Repo to My Laptop.
Oh, I don't know anything about the Heroku repos. I just use the NodeBB ones.
-
@scottalanmiller yes.
But whats that problem when i clone to local system and run -
@Varun-Ganesh-D said in How to Upgrade from v1.13.3 to v1.14.0?:
If I Execute the Same Command in Heroku Bash It Showing Different Error
That makes it look like you aren't in a git folder at all, at least that's the error.
-
@Varun-Ganesh-D said in How to Upgrade from v1.13.3 to v1.14.0?:
@scottalanmiller yes.
But whats that problem when i clone to local system and runWhat did you clone? I'm not aware of any Heroku repo.
-
Try this command, let's see what it says..
git branch -r
This will list what branches are available to you.
-
@scottalanmiller That's Ok.
Is it possible to upgrade by downloading latest version and install? while installing what happens if i give same database credentials?
i think its not proper way to upgrade. -
@Varun-Ganesh-D said in How to Upgrade from v1.13.3 to v1.14.0?:
@scottalanmiller That's Ok.
Is it possible to upgrade by downloading latest version and install? while installing what happens if i give same database credentials?
i think its not proper way to upgrade.That's not the proper way and risks the database not being brought up through the versions correctly. But if you can download, you should be able to get from git, since the two pull from the same place.
-
Do this command...
git config -l
That should show where you've set the git to pull from.
-
@scottalanmiller Yea
Problem is there in Git.
Since ive used heroku it configured with its Git Instead of NodeBB Git.
Let Me try to re configure thatBut Fresh Downloaded NodeBB.zip has no .git folder.
Waiting for Some peoples reply who hosted under Heroku
they may know how to upgrade -
@Varun-Ganesh-D said in How to Upgrade from v1.13.3 to v1.14.0?:
But Fresh Downloaded NodeBB.zip has no .git folder.
Right, don't do that. Use git, but pull from NodeBB, not Heroku. Don't use alternative sources, and don't use ZIP files. Just stick to the standard and it should be fine.
-
@Varun-Ganesh-D said in How to Upgrade from v1.13.3 to v1.14.0?:
Waiting for Some peoples reply who hosted under Heroku
they may know how to upgradeI've not use Heroku in forever and never with NodeBB, but Heroku has to give you access to any GIT repo that you want. So nothing on Heroku should require something special. Just install on Heroku the same as you would install anywhere. The issue, I think, is attempting to do something special for Heroku instead of following the standard NodeBB procedures.
-
@scottalanmiller Btw how to change git remote URL
-
@Varun-Ganesh-D said in How to Upgrade from v1.13.3 to v1.14.0?:
Btw how to change git remote URL
origin doesn't exist yet, so you can't change it, but only add it, like this...
git remote add origin URL
-
@scottalanmiller ok
After adding origin it clones or pulls update from origin?? -
@Varun-Ganesh-D said in How to Upgrade from v1.13.3 to v1.14.0?:
@scottalanmiller ok
After adding origin it clones or pulls update from origin??You will want to update, as you've already cloned.
-
Tried by Changing that Git Origin Link
It worked.
but again i can't able to push to heroku. So again i changed it's orgin url to heroku's url.
but it's crashing when i enter ./nodebb start -
@Varun-Ganesh-D said in How to Upgrade from v1.13.3 to v1.14.0?:
but again i can't able to push to heroku. So again i changed it's orgin url to heroku's url.
I must be missing something fundamental. Why do you want to push to Heroku?