Author Topic: XML verion differs from Git version  (Read 1715 times)

Offline hanshansen

  • Decent Indexer
  • ***
  • Posts: 57
  • Helpful: +1/-0
XML verion differs from Git version
« on: 2017-10-08, 04:04:23 am »
I just updated nzedb to version 8.0.0.0 and everything seems to work ok, but when I run
Code: [Select]
$ ./zed version all

I get

Code: [Select]
Looking up Git tag version(s)
Hash: eb483b2cc59f7320a4c4837d797080ef0ed34c43
XML version: 0.8.0.0
Git version: 0.7.3.3
Looking up SQL patch version(s)
XML version: 482
 DB version: 482

Is this ok, or did something go wrong during the update? If the latter, how do I correct it?

when I re-run

Code: [Select]
$ ./zed update all
I get this

Code: [Select]
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating optimized autoload files
> nzedb\build\Composer::postInstallCmd
Updating git hooks... done
Checking database version...
Db: 482, File: 482
Up to date.

Offline Darius

  • Enforcer
  • *****
  • Posts: 121
  • Helpful: +8/-1
Re: XML verion differs from Git version
« Reply #1 on: 2017-10-08, 02:21:12 pm »
Do:

Code: [Select]
git pull

Offline hanshansen

  • Decent Indexer
  • ***
  • Posts: 57
  • Helpful: +1/-0
Re: XML verion differs from Git version
« Reply #2 on: 2017-10-08, 03:14:08 pm »
Thanks, seems to have done the trick.

Code: [Select]
$ git pull
remote: Counting objects: 49, done.
remote: Total 49 (delta 33), reused 33 (delta 33), pack-reused 15
Unpacking objects: 100% (49/49), done.
From https://github.com/nZEDb/nZEDb
   9d4dee1..dec6c26  Latest-testing -> origin/Latest-testing
   87749cc..eb483b2  dev        -> origin/dev
   3006b7a..8f91c2b  dev-console-command -> origin/dev-console-command
 * [new branch]      dev-maintainance-mode -> origin/dev-maintainance-mode
 * [new branch]      dev-maintenance-mode -> origin/dev-maintenance-mode
 * [new branch]      dev-new-tmdb-api -> origin/dev-new-tmdb-api
   9b6a106..1d7ed6e  dev-refactor-adult -> origin/dev-refactor-adult
 * [new tag]         v0.7.4.0   -> v0.7.4.0
 * [new tag]         v0.7.4.1   -> v0.7.4.1
 * [new tag]         v0.8.0.0   -> v0.8.0.0
Already up-to-date.

Code: [Select]
$ ./zed version all
Looking up Git tag version(s)
Hash: eb483b2cc59f7320a4c4837d797080ef0ed34c43
XML version: 0.8.0.0
Git version: 0.8.0.0
Looking up SQL patch version(s)
XML version: 482
 DB version: 482

Offline hanshansen

  • Decent Indexer
  • ***
  • Posts: 57
  • Helpful: +1/-0
Re: XML verion differs from Git version
« Reply #3 on: 2017-11-06, 04:40:42 am »
It seems I need to do this upon every update now. I just updated to 0.8.1.0 with
Code: [Select]
./zed update nzedb
and the git version stayed on 0.8.0.0 again. After
Code: [Select]
git pull
everything is fine.

I thought
Code: [Select]
./zed update nzedb
was the only command needed to update.