You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clear build using Dockerfile results in not properly set environment variable IMAGESEARCH_DB, which results in throwing exception basic_string::_S_construct null not valid.
When I switched Dockefile into using nginx instead of lighttpd with correctly set IMAGESEARCH_DB variable, than I am receiving errors System exception: Cannot map file into shared memory: \/shared\/dhash from URL v1/searchIdentical?blockHash=ffff816180a18239c731a381e087b8cf883df971dc01bc858003800dd80fffff&dHash=2592989844c4e0d8
I tried following this exception, which results in failing function ::mmap(const_cast<void*>(addrHint), _size, access, MAP_SHARED, _fd, 0); (poco/Foundation/src/SharedMemory_POSIX.cpp:105)
with errno set to EINVAL (22, Invalid argument)
called by new Poco::SharedMemory(*data_fd, Poco::SharedMemory::AM_READ) (fcgi/MemoryManager.cpp:125)
called by MemoryManager::getData(HashType hashType) (fcgi/HashManager.cpp:114)
Well, it is weird, but after downloading imagesearch.db from the release, everything is working.
But this docker image should be working also with empty DB, or at least create some data necessary to run. (now it only creates tables)
Clear build using Dockerfile results in not properly set environment variable
IMAGESEARCH_DB
, which results in throwing exceptionbasic_string::_S_construct null not valid
.When I switched Dockefile into using
nginx
instead oflighttpd
with correctly setIMAGESEARCH_DB
variable, than I am receiving errorsSystem exception: Cannot map file into shared memory: \/shared\/dhash
from URLv1/searchIdentical?blockHash=ffff816180a18239c731a381e087b8cf883df971dc01bc858003800dd80fffff&dHash=2592989844c4e0d8
I tried following this exception, which results in failing function
::mmap(const_cast<void*>(addrHint), _size, access, MAP_SHARED, _fd, 0);
(poco/Foundation/src/SharedMemory_POSIX.cpp:105
)with errno set to
EINVAL
(22,Invalid argument
)called by
new Poco::SharedMemory(*data_fd, Poco::SharedMemory::AM_READ)
(fcgi/MemoryManager.cpp:125
)called by
MemoryManager::getData(HashType hashType)
(fcgi/HashManager.cpp:114
)How is this docker image used on domain http://imagesearch.mzk.cz/?
The text was updated successfully, but these errors were encountered: