script-server icon indicating copy to clipboard operation
script-server copied to clipboard

shared access doesnt work

Open tlkounev opened this issue 11 months ago • 3 comments

I have script

{
"access": { "shared_access": { "type": "ALL_USERS" }},
"script_path": "/share/homes/tlkounev/speedtest.sh"
}

and 1.18.0 running but still I cant access logs from other user_ids...

Log looks like this. There are no word about "access type":

id:8
user_name:xxx
user_id:xxx
script:speedtest
start_time:1741808575109
command:/share/homes/tlkounev/speedtest.sh
output_format:terminal
exit_code:0
>>>>>  OUTPUT STARTED <<<<<

tlkounev avatar Mar 12 '25 19:03 tlkounev

Asm

Sumanthpurusotham avatar Mar 12 '25 19:03 Sumanthpurusotham

Hi @tlkounev, I just tested it locally, and it seems to be working. The log file shouldn't contain anything regarding access type, this is expected.

Could it be, that your changes to the script are simply not picked up?

bugy avatar Mar 14 '25 09:03 bugy

I have to say one thing. Im using qnap package from myqnap.org

https://www.myqnap.org/product/script-server-apache82/

Than I dont have script server installed standardly. I tried reinstall pckg, restart server, NAS and delete and again add script. Nothing helped. So Ill try install script server in docker...

tlkounev avatar Mar 14 '25 10:03 tlkounev