Upgrade

composer update should do the task.

But: never forget to backup before upgrade.

1) backup your mongo data with the mongodump command. This will create a directory dump containing all your mongo databases. You can restore these databases with the mongorestore command.

YAWIK creates all needed mongo indexes automatically. But this only works, if an index is not already available. Since some indexes have changed in the past, it might be required to drop all indexes, so YAWIK will be able to create all needed indexes.

To drop all indexes, go to your mongo shell and type:

set1:PRIMARY> db.users.dropIndexes();
set1:PRIMARY> db.applications.dropIndexes();
set1:PRIMARY> db.jobs.dropIndexes();
  1. Move your YAWIK Installation to a new location, so you are able to undo the upgrade any time.

3) Install the new Version. Eighter via git or unpack the latest ZIP/TGZ Package from sourceforge. In contrast to a fresh installation, you do not access your updated YAWIK via a Browser. Copy all config/autoload/* files of your moved old YAWIK installation into to config/autoload directory of your new installation.

  1. Now you can access your new YAWIK via a Browser.

0.24 => 0.25

New users get a status. You can update old Users by

db.getCollection('users').update({'status': {$exists : false}}, {$set: {'status': {
    "name" : "active",
    "order" : NumberLong(50)
}}}, {multi: true})

Companynames ares searchable and sortable. If you want to make older companies searchable and sortable to, run the following query

db.getCollection('organizations.names').find().forEach(function(name) {
    db.getCollection('organizations').update({organizationName: name._id}, {$set: {_organizationName: name.name}}, {multi: true});
})

0.31 => 0.32

0.32 requires to use the ext-mongodb extension. You have to replace your ext-mongo by ext-mongodb.