-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: UI is 404 after reinstall #164
Comments
same issue as posted above:
Python 3.11.2
|
@thelasttenno @dieseltravis can you try reinstalling the ui then running
|
@dieseltravis @thelasttenno and also can you provide output from |
@Bee-Mar I think the reinstall is stalling:
I had to ^C :
Here is the other output:
The one message about node from /home/pi/.pm2/logs/MagicMirror-error.log makes me wonder if maybe it is an older message or if it doesn't see the node version I have installed:
|
Try uninstalling and reinstalling mmpm. I have a feeling some dependencies are clashing. "python3 -m pip install --force-reinstall --upgrade --no-cache-for mmpm" |
OK, this command succeeded: Then I re-ran this one: Here are the logs:
That last error message traceback from mmpm.ui just keeps repeating. |
@dieseltravis did you by chance have an older version ( less than 4.0.0) of If the output from the command below shows something indicating the sudo systemctl status nginx then run: sudo systemctl disable --now mmpm
sudo systemctl disable --now nginx |
@Bee-Mar yeah, that is probably the issue, I had been running mmpm for a few years now and recently there were a few modules where it wasn't able to update them through the UI so I ssh'd into the pi to try to update everything manually. Here are the outputs of those three commands:
|
@dieseltravis great, that's at least removed one additional item at play. Have you attempted to get the UI running after running those commands? Also, if nothing else is using nginx, you can remove it completely to make sure nothing else conflicts. |
Running |
Describe the Bug
I had the UI running previously. It had a message about an update that seemed to be broken, so I tried updating mmpm, and all the modules manually and now the remote UI doesn't appear to be working.
Opening that URL in the browser is a 404 with a JSON error message. Headers:
Content:
Is this an issue with the CLI or GUI?
CLI?
Is this something that should be put in the Wiki?
Unsure.
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The UI shows up.
Screenshots
Operating System, Python3 Version, and Web Browser\
cat /etc/os-release
output from
python3 --version
Python 3.9.2
Web Browser (firefox, chrome, safari, chromium, etc)
Firefox 121.0.1 (64-bit)
MMPM Environment Settings
mmpm env
MMPM Log Files
Download MMPM log files
within the Control Center of the GUI or from themmpm log --zip
I think it is supposed to be
mmpm logs -zip
?mmpm-logs-2024-1-15.zip
MagicMirror Config
config.js
API keys redacted:
config.js.txt
The text was updated successfully, but these errors were encountered: