68 Commits

Author SHA1 Message Date
Chris Yocum
847160b46e Remove duplicate input values array
I apparently double-tapped CTRL+V when pasting this in.
2020-04-06 07:31:22 -04:00
Chris Yocum
2b35158cd6 Web search broke due to missing file(s)
Need to make sure /config/customtags.txt and /config/smartsearches.txt files exist or it can break the web search. This ensures that the files exist.
2020-04-06 07:16:16 -04:00
Chris Yocum
0495177c3c Merge branch 'master' of https://github.com/christronyxyocum/docker-diskover 2020-04-06 07:01:26 -04:00
thelamer
f9a08bb097 use s6 cont-env executor for cleanup 2019-08-19 08:47:35 -07:00
Jonathan Crooke
3740ceeb9b Export DISKOVER_ARRAY for cleanup.sh 2019-08-19 08:47:35 -07:00
Chris Yocum
e4ba8c0d4c Add logic to start bots when run_on_start isn't set to true
Unless run_on_start is set to true, no worker bots are started when the container is started causing the user to have to manually start bots if they wish to run any manual Diskover operations like finding dupes or hot dirs.
2019-08-19 08:33:06 -07:00
Yocum
7e62aac2d1 Final, minor touchups 2019-08-19 08:33:06 -07:00
Yocum
cfc75d7f3c Remove chmod of cleanup.sh 2019-08-19 08:33:06 -07:00
Yocum
fb764faf3a Make cleanup.sh executable 2019-08-19 08:33:06 -07:00
Yocum
000fc15bdf Cleanup 2019-08-19 08:33:06 -07:00
Yocum
fd9b0ca01d More testing 2019-08-19 08:33:06 -07:00
Yocum
a2a5de939b Testing 2019-08-19 08:33:06 -07:00
Yocum
5a4222c4b0 Fix redis cleanup
Cleanup.sh was unable to read array vars and would error out. Moved commands directly into the sigterm trap so the cleanup actually runs.
2019-08-19 08:33:06 -07:00
Yocum
18a43a173e Fix redis cleanup
Cleanup.sh was unable to read array vars and would error out. Moved commands directly into dispatcher.sh so the cleanup can be ran.
2019-08-19 08:33:06 -07:00
Yocum
a384e121cd Testing fix for redis cleanup script errors 2019-08-19 08:33:06 -07:00
Chris Yocum
0683d52771 Testing fix for cleanup not reading vars 2019-08-19 08:33:06 -07:00
Chris Yocum
f7a2c8907d Testing array export for cleanup vars 2019-08-19 08:33:06 -07:00
Chris Yocum
ef35212ece Testing 2019-08-19 08:33:06 -07:00
Chris Yocum
81e62e53aa Testing fix for path issue 2019-08-19 08:33:06 -07:00
Chris Yocum
32eac79856 Add logic to start bots when run_on_start isn't set to true
Unless run_on_start is set to true, no worker bots are started when the container is started causing the user to have to manually start bots if they wish to run any manual Diskover operations like finding dupes or hot dirs.
2019-07-25 21:26:49 -04:00
Yocum
6a0dd42523 Final, minor touchups 2019-07-23 14:36:39 -04:00
Yocum
3db824ab10 Remove chmod of cleanup.sh 2019-07-22 18:57:25 -04:00
Yocum
28057b304a Make cleanup.sh executable 2019-07-22 18:49:52 -04:00
Yocum
9ad16c8145 Cleanup 2019-07-22 18:28:42 -04:00
Yocum
31701d6742 More testing 2019-07-22 18:21:47 -04:00
Yocum
ab462fec9e Testing 2019-07-22 17:54:36 -04:00
Yocum
b81438c530 Fix redis cleanup
Cleanup.sh was unable to read array vars and would error out. Moved commands directly into the sigterm trap so the cleanup actually runs.
2019-07-22 16:46:18 -04:00
Yocum
98185d89a2 Fix redis cleanup
Cleanup.sh was unable to read array vars and would error out. Moved commands directly into dispatcher.sh so the cleanup can be ran.
2019-07-22 16:40:16 -04:00
Yocum
406deb8b01 Testing fix for redis cleanup script errors 2019-07-22 14:56:57 -04:00
Chris Yocum
6608b91416 Testing fix for cleanup not reading vars 2019-07-22 08:45:07 -04:00
Chris Yocum
961232794a Testing array export for cleanup vars 2019-07-22 08:39:13 -04:00
Chris Yocum
a522f59ac8 Testing 2019-07-22 08:22:34 -04:00
Chris Yocum
597c1136b8 Testing fix for path issue 2019-07-22 02:22:54 -04:00
Chris Yocum
ca1f786917
Fix for file persistence
The customtags.txt, smartsearches.txt, and extrafields.txt files were not persistent as the copies stored in the /config dir were not linked to the files the application reads in /app/diskover-web/public/. Added symbolic links to create persistence after changes are made within the application.
2019-07-17 17:17:45 -04:00
Chris Yocum
2ae2f375bc
Fix for DISKOVER_OPTS
Syntax was causing DISKOVER_ARRAY[DISKOVER_OPTS] to get overwritten by the value of DISKOVER_OPTS that the user specified rather than adding to it, IE: specifying "DISKOVER_OPTS=--autotag" resulted in JUST `--autotag -i diskover-2019-07-16` instead of `--autotag -d /data -a -i diskover-2019-07-16`.
2019-07-16 18:46:55 -04:00
Chris Yocum
4b2decff5c
Fix issue with customtags.txt
Fix issue with customtags.txt getting overwritten by sample on container creation
2019-07-16 18:07:47 -04:00
Chris Yocum
32eb6b5508
Fixes for the API not working
Modified the PHP location block to allow the API to function properly. Thanks to @halianelf for that.

Added increased fastcgi timeout to account for actions on massive directories.
2019-07-04 11:45:12 -04:00
saarg
e562b9102e
Merge pull request #23 from shirosaidev/master
Update diskover.cfg
2019-06-16 10:02:52 +00:00
Chris Park
c13773801e Update diskover.cfg 2019-06-16 18:40:06 +09:00
alex-phillips
056ed8028b bot / redis cleanup now in its own script so we can also call it when container is stopped / restarted 2019-01-05 11:15:30 -05:00
alex-phillips
d8ef2c444a dispatcher now accepts missing worker opts variable 2019-01-05 11:14:40 -05:00
Chris Park
c7dd3ca9a0 Update diskover.cfg 2019-01-05 13:28:50 +09:00
alex-phillips
cb09adc1b2 kill all redis workers in one command instead of 2 2018-11-29 08:23:30 -05:00
alex-phillips
b1f0313b37 updated default config with production release sample 2018-11-26 08:09:03 -05:00
Alex Phillips
189a997dc1
Merge pull request #14 from linuxserver/aptalca-patch-1
Update default
2018-11-09 14:06:52 -05:00
alex-phillips
9cb38822b2 no need to override base image nginx.conf 2018-11-09 13:50:23 -05:00
aptalca
b5651b55ad
Update default 2018-11-09 13:45:01 -05:00
alex-phillips
d3274ea005 diskover-web ui is now handled via nginx 2018-10-01 09:03:50 -04:00
sparklyballs
b7306ba9ae
Merge pull request #3 from linuxserver/tidying
some initial tidying up and rearranging
2018-09-25 15:09:27 +01:00
sparklyballs
83a5889687 some initial tidying up and rearranging 2018-09-11 00:17:41 +01:00