mirror of
https://github.com/photoprism/photoprism.git
synced 2026-03-02 22:57:18 -05:00
File './mysql/roles_mapping.MAD' not found (Errcode: 2 "No such file or directory") #1873
Labels
No labels
ai
android
api
auth
awesome
bug
bug
ci
cli
config
database
declined
deprecated
docker
docs 📚
documents
duplicate
easy
enhancement
enhancement
enhancement
epic
faces
feedback wanted
frontend
hacktoberfest
help wanted
idea
in-progress
incomplete
index
invalid
ios
labels
live
live
low-priority
macos
member-feature
metadata
mobile
nas
needs-analysis
no-coding-required
no-coding-required
observability
performance
places
please-test
plus-feature
priority
pro-feature
question
raspberry-pi
raw
released
released
released
research
resolved
security
sharing
tested
tests
third-party-issue
thumbnails
upgrade
upstream-issue
ux
vector
video
waiting
won't fix
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/photoprism#1873
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 @CezaryDanielNowak on GitHub (Aug 28, 2023).
1. What is not working as documented?
After a week of idle I restarted the server and web UI stopped working. I'm getting ERR_CONNECTION_REFUSED.
When I run docker-compose I get following log
I think that something broke around
Fatal error: Can't open and lock privilege tables: File './mysql/roles_mapping.MAD'but I have no idea how to fix it2. How can we reproduce it?
It just happened with no reason.
3. What behavior do you expect?
Stuff working
4. What could be the cause of your problem?
sudo shutdown -r now?5. Can you provide us with example files for testing, error logs, or screenshots?
As above
6. Which software versions do you use?
(a) PhotoPrism Architecture & Build Number: AMD64
(b) Database Type & Version: MariaDB/MySQL
(c) Operating System Types & Versions: Linux Xubuntu with no xwindow
(d) Browser Types & Versions: Does not apply
(e) Ad Blockers, Browser Plugins, and/or Firewall Software? Does not apply
You can find the version/build number of the app in Settings by scrolling to the bottom. Note that MySQL 8 support has been discontinued, see system requirements at https://docs.photoprism.app/getting-started/#system-requirements.
Always provide database and operating system details if it is a backend, import, or indexing issue. Should it be a frontend issue, at a minimum we require you to provide web browser and operating system details. When reporting a performance problem, we ask that you provide us with complete information about your environment, as there may be more than one cause.
7. On what kind of device is PhotoPrism installed?
(a) Device / Processor Type: Terminal HP T630
(b) Physical Memory & Swap Space in GB: 4GB RAM, 4GB Swap
(c) Storage Type: HDD, SSD, RAID, USB, Network Storage: SATA SSD
8. Do you use a Reverse Proxy, Firewall, VPN, or CDN?
No