Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Your koha-conf.xml does not contain a valid upload_path. #14

Open
fiedl opened this issue Sep 18, 2017 · 1 comment
Open

Your koha-conf.xml does not contain a valid upload_path. #14

fiedl opened this issue Sep 18, 2017 · 1 comment

Comments

@fiedl
Copy link

fiedl commented Sep 18, 2017

I'm trying to enable file uploads as shown in http://bywatersolutions.com/2017/06/08/attach-file-marc-records/, which works fine. But when uploading a file, I get

Your koha-conf.xml does not contain a valid upload_path.

Aparently, this is true as https://github.com/digibib/koha-docker/blob/master/files/templates/instance/koha-conf.xml.tmpl just contains

<upload_path></upload_path>

Is there a nice way to set the upload_path through docker-compose and point the upload path to a docker-compose volume? For example, can I set the upload path through an environment variable?

Thanks!

@bensinober
Copy link
Member

Hi, that could easily be added. We could add an ENV var UPLOAD_PATH to the template, and you could then point that to e.g. an already mounted volume at /var/lib/koha, or wherever.

We're currently moving our code to gitlab for better CI and build routines, but we'll continue updating this repo as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants