# Custom Commands not \`fully\` executed but aborted

**URL:** <https://forum.virtualmin.com/t/custom-commands-not-fully-executed-but-aborted/120047>\
**Category:** Virtualmin\
**Created:** [April 1, 2023, 11:48am UTC](https://forum.virtualmin.com/t/custom-commands-not-fully-executed-but-aborted/120047 "2023-04-01T11:48:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suther](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/suther/32/2163_2.png) [@suther](https://forum.virtualmin.com/u/suther)\
**Post date:** [April 1, 2023, 11:48am UTC](https://forum.virtualmin.com/t/custom-commands-not-fully-executed-but-aborted/120047/1 "2023-04-01T11:48:05Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Ubuntu Linux 20.04.6 |
| Webmin version | 2.021 |
| Usermin version | 1.861 |
| Virtualmin version | 7.5 |
| Theme version | 20.21 |
| Package updates | All installed packages are up to date |

I have this custom-command:

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/2X/d/da4bd83f029d3f48c3b75819b2af56f5bf8309ad.jpeg)

It download and install nvm to the user’s webspace. If I do execute this via Terminal (and become user with `su`) it work as expected.  
But if I execute it in usermin as `custom command` it seems to be aborted and nvm is not installed:

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/2X/e/ec9b232fc5b48f495966a2b5a296796425bff17a.jpeg)

How can I make it wait, till the whole process is finished?

---

<div class="post-metadata">

**Author:** ![suther](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/suther/32/2163_2.png) [@suther](https://forum.virtualmin.com/u/suther)\
**Post date:** [April 1, 2023, 12:15pm UTC](https://forum.virtualmin.com/t/custom-commands-not-fully-executed-but-aborted/120047/3 "2023-04-01T12:15:30Z")

</div>

Sorry was an missmatch with similar usernames I had…  
Thread can be deleted

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [April 1, 2023, 9:39pm UTC](https://forum.virtualmin.com/t/custom-commands-not-fully-executed-but-aborted/120047/4 "2023-04-01T21:39:24Z")

</div>

everyone can learn from mistakes

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 9, 2023, 9:39pm UTC](https://forum.virtualmin.com/t/custom-commands-not-fully-executed-but-aborted/120047/5 "2023-04-09T21:39:25Z")

</div>

Closed on April 9, 2023, 9:39pm UTC

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
