mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #350] 500 Internal Server Error #221
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@wh1te909 commented on GitHub (Mar 29, 2021):
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
--forceflag and then try logging in again. Instructions here https://wh1te909.github.io/tacticalrmm/update_server/@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
@wh1te909 commented on GitHub (Mar 29, 2021):
can you please run the following from the tactical user and paste screenshot
@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
@kuerious commented on GitHub (Mar 29, 2021):
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.
@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 --forcethat will rebuild and reinstall the frontend@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.
@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.
@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/
@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".
@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.