Comments (3)
Hi,
Thanks for the follow up, I just wanted to make sure you were aware of the problem. I just created a new bind mount for the /archiva/repositories directory and copied the old artifacts in there and that worked fine, but obviously if you don't know it's going to happen you can lose some artifacts which are only stored in the container (though I would always say you should be able to rebuild and redeploy anything important from source anyway). I might look at recreating the repository anyway so that everything is in the right place for future versions of the image.
Very handy image BTW.
from docker-archiva.
Hey @adam-me-uk
Thanks for the report! All the persistent data (including artifacts) will still be stored under /archiva-data
in the new v2
series image, but it looks like repository configurations are getting botched. The relative paths that worked in the v2-legacy
version now have the wonky behavior you described.
We'll look into it what we can do about that - but in the meantime, manually deleting and re-creating your repositories entries in the UI should resolve the issue. Just be sure to use an absolute path when re-creating the repository entry and not to select the "delete the repository data" option when you remove the existing one.
from docker-archiva.
Hey @adam-me-uk
Just to close the loop, we've included a script to automatically upgrade Archiva configurations created in v2-legacy
versions to avoid the problem you ran into.
On the off chance you have a backup of your environment before you upgraded, I'd love to have a confirmation that the new script would have worked for you. It should be as simple as starting up Archiva normally, but with the UPGRADE_PRE_V2
environment variable set to true
.
from docker-archiva.
Related Issues (20)
- Running from example seems to hang on "Loading" HOT 2
- Support custom context path with environment variable HOT 7
- What is the root password for Archiva Docker image? HOT 1
- while trying to push the artifact from jenkins(CI Job) to nexus.Error:"HTTP method PUT is not supported by this URL". HOT 1
- Latest openjdk:8 image breaks builds due to cacerts being moved.
- Error creating bean with name 'authenticationInterceptor#rest' HOT 2
- Hello, I'm new to docker. How easy would it be to add the $PORT env variable as a configuration parameter ? Thanks HOT 1
- validation_mail: user and password set via env variable HOT 2
- Container does not start as expected (HTTP ERROR 404) HOT 2
- How to set rest.baseUrl if behind proxy. HOT 2
- can't create directory '/archiva-data/data': Permission denied HOT 6
- Increase upload size HOT 9
- Add support for ARM 64 HOT 2
- Critical Log4j RCE bug (CVE-2021-44228) HOT 2
- Dockerhub tag `latest` does not seem to get updated HOT 1
- SSL Connection issue while connecting to mysql database HOT 1
- Write migration guide to reposilite
- Archiva 2.2.10 HOT 1
- Adding port 8443 to port list HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-archiva.