Running command in Run Shell action stopped working after last beta update

157 ogledov
Preskoči na prvo neprebrano sporočilo

Jiří Netopil

neprebran,
24. nov. 2021, 17:27:4124. 11. 21
do Tasker
Hi,

this morning my Tasker was updated to 5.15.3-beta version. After that I realized that starting the LinuxDeploy container using the /data_mirror/data_ce/null/0/ru.meefik.linuxdeploy/files/bin/linuxdeploy start -m command in Run Shell action stopped working because of the following error:
23.02.38/E Run Shell: %output -> %output
23.02.38/E Run Shell:  -> 
23.02.38/E Run Shell:  -> 
23.02.38/Shell runBackground /data_mirror/data_ce/null/0/ru.meefik.linuxdeploy/files/bin/linuxdeploy start -m root: true timeout: 15000
23.02.38/Shell start process-thread ID 1357
23.02.38/E add wait type Shell1 time 2147483647
23.02.38/E add wait type Shell1 done
23.02.38/E add wait task
23.02.38/Variables doreplresult: |%output| -> |%output|
23.02.38/E Error: 1

I tried to run other commands in the same directory (for example /data_mirror/data_ce/null/0/ru.meefik.linuxdeploy/files/bin/free) with the same result. But if I change the command in Run Shell action to cat /data_mirror/data_ce/null/0/ru.meefik.linuxdeploy/files/bin/linuxdeploy I get the file content listed. So I have access to this file, but cannot run it.

The file has all executable rights, see here:
$ ls -l bin/linuxdeploy
-rwxr-xr-x    1 u0_a334  u0_a334        179 Jun  7 19:34 bin/linuxdeploy

And I can start the container using the same command from LinuxDeploy own shell or from Termux just fine. In both cases it works. But not from Tasker anymore.

Yesterday, i.e. just while before updating the Tasker I granted the following permission:
net.dinglisch.android.taskerm com.termux.permission.RUN_COMMAND,
but I hope this did not caused this problem. I tried to revoke this permission and i did not helped.

Thank you for any idea on what might be wrong and how to solve it.

Jiri.

Jiří Netopil

neprebran,
24. nov. 2021, 17:35:1024. 11. 21
do Tasker
One more info. At the time when Tasker was updated this morning, the LinuxDeploy container started from the previous Tasker version was running. Couldn't this messed something? 

Dne středa 24. listopadu 2021 v 23:27:41 UTC+1 uživatel Jiří Netopil napsal:

EW

neprebran,
24. nov. 2021, 18:38:3224. 11. 21
do Tasker
Lots of discussion in the redit thread on this https://www.reddit.com/r/tasker/comments/qwwenb/dev_tasker_5152beta_target_api_30_for_everyone/?sort=new

Also, check the latest beta - seems like this folder https://drive.google.com/drive/folders/1D9bzragPYBT-v3mIx6OV2ocQlxZMtPr6

Fixed the issue for me.

Jiří Netopil

neprebran,
25. nov. 2021, 06:28:4525. 11. 21
do Tasker
Great! That was exacly what I needed. I can confirm that the Tasker-5.15.3-beta-20211123_1455.apk version fixed this issue for me too.

Thank you so much!

Dne čtvrtek 25. listopadu 2021 v 0:38:32 UTC+1 uživatel EW napsal:

EW

neprebran,
25. nov. 2021, 09:04:5025. 11. 21
do Tasker
Glad to help and good to hear that the fix works for you as well.
Sporočilo je izbrisano

João Dias

neprebran,
3. dec. 2021, 06:58:413. 12. 21
do tas...@googlegroups.com
Hi. Please update to the latest beta, thanks!

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


Odgovori vsem
Odgovori avtorju
Posreduj
0 novih sporočil