ckan / ckan/ckan-docker

failed to find libmagic

Open
#57 2 comments 0 reactions 1 assignee Claimed by @kowh-ai View on GitHub
Dominant language
Shell
Stars
151
Forks
279
PR merge metrics
No merged PRs in 30d

Description

hello all, my steps is :

```
git clone https://github.com/ckan/ckan-docker/

cd ckan-docker

docker-compose build

docker-compose up

```

everything works well, but when we use https://0.0.0.0:8443 we have two problem:

1, when we upload the json file and click the 'Upload to DataStore' it failed:

```
Error: File "/usr/lib/python3.9/site-packages/apscheduler/executors/base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) File "/usr/lib/python3.9/site-packages/datapusher-0.0.20-py3.9.egg/datapusher/jobs.py", line 433, in push_to_datastore table_set = messytables.any_tableset(tmp, mimetype=ct, extension=ct) File "/usr/lib/python3.9/site-packages/messytables/any.py", line 153, in any_tableset magic_mime = get_mime(fileobj) File "/usr/lib/python3.9/site-packages/messytables/any.py", line 62, in get_mime import magic File "/usr/lib/python3.9/site-packages/magic/__init__.py", line 209, in libmagic = loader.load_lib() File "/usr/lib/python3.9/site-packages/magic/loader.py", line 49, in load_lib raise ImportError('failed to find libmagic. Check your installation') ImportError('failed to find libmagic. Check your installation')
```

2, every time the page redirect is failed because it alway redirect to 'https://localhost:8443/xxxxx’ page, but not the machine ip. so where we can reconfig the 'site name' ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.