Closed HasanKhatib closed 5 years ago
@HasanKhatib hi! I'm not sure what your immediate goals are but if you would like to play around with the latest version of Dataverse (4.14 came out yesterday) you could try cloning the main "dataverse" repo an following this README: https://github.com/IQSS/dataverse/tree/v4.14/conf/docker-aio . If you have any trouble with this, please open an issue over in the main "dataverse" repo. Thanks!
If your goal is to continue with dataverse-docker and you want to run a newer version of Dataverse, I would suggest opening an issue about this in this repo. (To add "requestor_id", "uri" and other columns added in 4.10 one would need to run https://github.com/IQSS/dataverse/blob/v4.14/scripts/database/upgrades/upgrade_v4.9.4_to_v4.10.sql but in more recent versions, we have switched to Flyway.)
We switched to Flyway in Dataverse 4.12.
For 4.11 and older to have to follow instructions in release notes for each version and database migrations are not automated: http://guides.dataverse.org/en/4.11/installation/upgrading.html
Once you get to 4.12, Flyway will take care of database migrations (but you should still follow other parts of release notes, of course): http://guides.dataverse.org/en/4.12/installation/upgrading.html
Hi @HasanKhatib, you're welcome to create pull request if you've managed to update dataverse-docker repo to the latest version.
And if you are feeling lucky and want to go to an all new Kubernetes adventure park, you might take a look at https://github.com/IQSS/dataverse-kubernetes. :wink:
Will upload new images containing 4.14 within the next hours...
Hi @poikilotherm, please let me know after you'll manage to update Docker images, I want to use them also for our multilingual DataverseEU instance.
@4tikhonov new tagged images are online :smile:
To solve this issue I went the solution provided by @mheppler
## use the db container /bin/bash to perform theses commands:
sudo psql -U dvnapp -d dvndb -c "ALTER TABLE datasetfieldtype ADD COLUMN uri text;"
sudo psql -U dvnapp -d dvndb -c "ALTER TABLE metadatablock ADD COLUMN namespaceuri text;"
Thanks @poikilotherm, of course I will :+1:
After adding a new version of dataverse.war to
dataverse-docker/dataversedock/dv/deps
and re-run the image, I get this error:From the glassfish logs, the problem is with a missing database column
I tried the solution stated in Troubleshooting page from the dataverse guide, but it seems that the dbUser don't has permission to perform this solution in the docker instance.