[GH-ISSUE #350] 500 Internal Server Error #221

Closed
opened 2026-03-02 02:14:36 +03:00 by kerem · 11 comments
Owner

Originally created by @kuerious on GitHub (Mar 29, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/350

New install of Debian 10 VM; 4c4G, NetInst.

Followed instructions (multiple times) at: https://wh1te909.github.io/tacticalrmm/install_server/

The MeshCentral (titled TacticalRMM) install seems to go off without a hitch. I can reach "mesh.x.x" without an issue.

The "api.x.x" link reads "The requested resource was not found on the server".
The "rmm.x.x" link reads "nginx: Error 500 Internal Server Error".

I honestly don't know what I'm doing wrong.

Originally created by @kuerious on GitHub (Mar 29, 2021). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/350 New install of Debian 10 VM; 4c4G, NetInst. Followed instructions (multiple times) at: https://wh1te909.github.io/tacticalrmm/install_server/ The MeshCentral (titled TacticalRMM) install seems to go off without a hitch. I can reach "mesh.x.x" without an issue. The "api.x.x" link reads **"The requested resource was not found on the server".** The "rmm.x.x" link reads "**nginx: Error 500 Internal Server Error**". I honestly don't know what I'm doing wrong.
kerem closed this issue 2026-03-02 02:14:36 +03:00
Author
Owner

@wh1te909 commented on GitHub (Mar 29, 2021):

The "api.x.x" link reads "The requested resource was not found on the server".

This is normal, the django admin is disabled by default so you'll get a not found error unless you enable it: https://wh1te909.github.io/tacticalrmm/functions/django_admin/

Can you please try running the update script with the --force flag and then try logging in again. Instructions here https://wh1te909.github.io/tacticalrmm/update_server/

<!-- gh-comment-id:809253497 --> @wh1te909 commented on GitHub (Mar 29, 2021): > The "api.x.x" link reads **"The requested resource was not found on the server".** This is normal, the django admin is disabled by default so you'll get a not found error unless you enable it: https://wh1te909.github.io/tacticalrmm/functions/django_admin/ Can you please try running the update script with the `--force` flag and then try logging in again. Instructions here https://wh1te909.github.io/tacticalrmm/update_server/
Author
Owner

@kuerious commented on GitHub (Mar 29, 2021):

Log attached:
2021-03-29T16_59_16_887Z-debug.log

No change. For error messages please see:
https://i.imgur.com/cda6uvy.png

https://i.imgur.com/OxmshsF.png

<!-- gh-comment-id:809546807 --> @kuerious commented on GitHub (Mar 29, 2021): Log attached: [2021-03-29T16_59_16_887Z-debug.log](https://github.com/wh1te909/tacticalrmm/files/6223408/2021-03-29T16_59_16_887Z-debug.log) No change. For error messages please see: https://i.imgur.com/cda6uvy.png https://i.imgur.com/OxmshsF.png
Author
Owner

@wh1te909 commented on GitHub (Mar 29, 2021):

can you please run the following from the tactical user and paste screenshot

cd ~
ls -la
<!-- gh-comment-id:809654015 --> @wh1te909 commented on GitHub (Mar 29, 2021): can you please run the following from the tactical user and paste screenshot ```bash cd ~ ls -la ```
Author
Owner

@wh1te909 commented on GitHub (Mar 29, 2021):

also where is your vm hosted? I want to try and replicate so plz lmk where like on hyper-v or proxmox or in public cloud and if so which cloud provider

<!-- gh-comment-id:809669045 --> @wh1te909 commented on GitHub (Mar 29, 2021): also where is your vm hosted? I want to try and replicate so plz lmk where like on hyper-v or proxmox or in public cloud and if so which cloud provider
Author
Owner

@kuerious commented on GitHub (Mar 29, 2021):

can you please run the following from the tactical user and paste screenshot

cd ~
ls -la

Found here:

https://i.imgur.com/7JxcpFa.png

My VM is hosted locally. Its running on VMware ESXi. Router is pfSense, exists behind Nginx Proxy Manager.

As I've said, the "mesh.domain.com" is working fine. Its the RMM link that no worky.

<!-- gh-comment-id:809689443 --> @kuerious commented on GitHub (Mar 29, 2021): > can you please run the following from the tactical user and paste screenshot > > ```shell > cd ~ > ls -la > ``` Found here: https://i.imgur.com/7JxcpFa.png My VM is hosted locally. Its running on VMware ESXi. Router is pfSense, exists behind Nginx Proxy Manager. As I've said, the "**mesh**.domain.com" is working fine. Its the RMM link that no worky.
Author
Owner

@wh1te909 commented on GitHub (Mar 29, 2021):

thanks. Yea your frontend is not installing, related to that npm error. Someone had something similar recently was a permission issue in the home dir but your home dir looks good.

I just spun up a fresh debian 10 vm on hyper-v locally and ran thru the install and no errors all works, so no issues with install script and not able to reproduce.

So just google the npm errors and see if you can fix them and then just keep running ./update.sh --force that will rebuild and reinstall the frontend

<!-- gh-comment-id:809712993 --> @wh1te909 commented on GitHub (Mar 29, 2021): thanks. Yea your frontend is not installing, related to that npm error. Someone had something similar recently was a permission issue in the home dir but your home dir looks good. I just spun up a fresh debian 10 vm on hyper-v locally and ran thru the install and no errors all works, so no issues with install script and not able to reproduce. So just google the npm errors and see if you can fix them and then just keep running `./update.sh --force` that will rebuild and reinstall the frontend
Author
Owner

@kuerious commented on GitHub (Mar 29, 2021):

You'd never guess ... irony.

I verified the sudoers file showed "tactical" would be able to use sudo w/o passwords. Then, I re-ran the update. It acted differently this time, and - et voila! - its working now.

<!-- gh-comment-id:809732418 --> @kuerious commented on GitHub (Mar 29, 2021): You'd never guess ... irony. I verified the sudoers file showed "tactical" would be able to use sudo w/o passwords. Then, I re-ran the update. It acted differently this time, and - et voila! - its working now.
Author
Owner

@kuerious commented on GitHub (Mar 29, 2021):

New problem.

The URL to download the Mesh agent no longer works. I saw in the instructions how to "recover" the password(s), but I don't see how to re-generate the Mesh agent URL to download (and then upload). I'm at a standstill ATM.

<!-- gh-comment-id:809741173 --> @kuerious commented on GitHub (Mar 29, 2021): New problem. The URL to download the Mesh agent no longer works. I saw in the instructions how to "recover" the password(s), but I don't see how to re-generate the Mesh agent URL to download (and then upload). I'm at a standstill ATM.
Author
Owner

@wh1te909 commented on GitHub (Mar 29, 2021):

nice!!

check out the management commands docs there is one to generate a meshcentral link:
https://wh1te909.github.io/tacticalrmm/management_cmds/

<!-- gh-comment-id:809743613 --> @wh1te909 commented on GitHub (Mar 29, 2021): nice!! check out the management commands docs there is one to generate a meshcentral link: https://wh1te909.github.io/tacticalrmm/management_cmds/
Author
Owner

@kuerious commented on GitHub (Mar 29, 2021):

I don't see it. None of them sound like what I want.

EDIT
NVM, I found it. But I cannot DL the MacOS client, when I click the link it states "Unauthorized".

<!-- gh-comment-id:809781190 --> @kuerious commented on GitHub (Mar 29, 2021): I don't see it. None of them sound like what I want. *EDIT* NVM, I found it. But I cannot DL the MacOS client, when I click the link it states "Unauthorized".
Author
Owner

@wh1te909 commented on GitHub (Mar 30, 2021):

you can just login to mesh.yourdomain.com using the meshcentral credentials that were printed out at the end of the install script and download the agents from there, doesn't have to be from an invite link. the tacticalrmm docs have instructions for how to reset these if you didn't save them

refer to the meshcentral documentation here https://github.com/Ylianst/MeshCentral mesh is a separate product just an integration. currently only windows agents are integrated with tacticalrmm, mac and linux are still under development. so you can install mac/linux agent's but you'll need to manage them using mesh's web interface, not tactical's.

<!-- gh-comment-id:809894025 --> @wh1te909 commented on GitHub (Mar 30, 2021): you can just login to mesh.yourdomain.com using the meshcentral credentials that were printed out at the end of the install script and download the agents from there, doesn't have to be from an invite link. the tacticalrmm docs have instructions for how to reset these if you didn't save them refer to the meshcentral documentation here https://github.com/Ylianst/MeshCentral mesh is a separate product just an integration. currently only windows agents are integrated with tacticalrmm, mac and linux are still under development. so you can install mac/linux agent's but you'll need to manage them using mesh's web interface, not tactical's.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#221
No description provided.