Seji64 / SniDust

SmartDNS Proxy to hide your GeoLocation. Based on DnsDist and nginx
GNU General Public License v3.0
156 stars 43 forks source link

generateACL.sh: line 2: syntax error: unexpected "(" #69

Closed adb76 closed 3 months ago

adb76 commented 3 months ago

Hi,

many thanks for solving the "invalid parameter null" error! Now it works on startup!

When looking into the docker protocol it now comes up the following error always when recreating / reloading the ACL config:

time="2024-08-19T07:15:00Z" level=info msg=starting iteration=0 job.command="/bin/bash /dynDNSCron.sh" job.position=0 job.schedule="*/15 * * * *"
time="2024-08-19T07:15:00Z" level=info msg="[INFO] [DynDNSCron] Regenerating ACL.." channel=stdout iteration=0 job.command="/bin/bash /dynDNSCron.sh" job.position=0 job.schedule="*/15 * * * *"
time="2024-08-19T07:15:00Z" level=info msg="[INFO] [DynDNSCron] ACL regenerated!" channel=stdout iteration=0 job.command="/bin/bash /dynDNSCron.sh" job.position=0 job.schedule="*/15 * * * *"
time="2024-08-19T07:15:00Z" level=info msg="[INFO] [DynDNSCron] Reloading DnsDist ACl config" channel=stdout iteration=0 job.command="/bin/bash /dynDNSCron.sh" job.position=0 job.schedule="*/15 * * * *"
[INFO] [SniDust] *** Reloading ACL... ***
/generateACL.sh: line 2: syntax error: unexpected "("
[INFO] [SniDust] *** ACL reload complete! ***
time="2024-08-19T07:15:00Z" level=info msg=127.0.0.7 channel=stdout iteration=0 job.command="/bin/bash /dynDNSCron.sh" job.position=0 job.schedule="*/15 * * * *"
time="2024-08-19T07:15:00Z" level=info msg="[INFO] [DynDNSCron] DnsDist ACL config successfully reloaded!" channel=stdout iteration=0 job.command="/bin/bash /dynDNSCron.sh" job.position=0 job.schedule="*/15 * * * *"
time="2024-08-19T07:15:00Z" level=info msg="[INFO] [DynDNSCron] reloading nginx..." channel=stdout iteration=0 job.command="/bin/bash /dynDNSCron.sh" job.position=0 job.schedule="*/15 * * * *"
time="2024-08-19T07:15:00Z" level=info msg="[INFO] [DynDNSCron] ngix successfully reloaded" channel=stdout iteration=0 job.command="/bin/bash /dynDNSCron.sh" job.position=0 job.schedule="*/15 * * * *"
time="2024-08-19T07:15:00Z" level=info msg="job succeeded" iteration=0 job.command="/bin/bash /dynDNSCron.sh" job.position=0 job.schedule="*/15 * * * *"

Regards.