Modify ↓
Opened 18 years ago
Closed 18 years ago
#3811 closed defect (invalid)
All project environment files are deleted after a system crash
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | general | Version: | 0.9.6 |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I've had a system hot-rebooted when Trac was running under Apache2. All the files in the projenv directory and its subdirectories were deleted after the reboot. I learned about it when I tried to access my Trac homepage and got the message
Oops... Trac detected an internal error: [Errno 2] No such file or directory: '/var/run/trac/sine/VERSION'
I've had this problem two times already, and I guess it is easy to reproduce it.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
/var/run is usually mounted as a "tmpfs" file system. This means that, like the /tmp directory, /var/run should only be used to store temporary files (Unix sockets, pid files, etc.). The /var/run file system will, as you've seen, be recreated when the system is booted, so you should find someplace else to store your Trac projects.