Comments (3)
@MacDork, you're very welcome. I enjoy keeping this container in shipshape. This is my way of supporting the Foundry community. Onto the locking issue...
This is most certainly related to the data store being on a network filesystem. Searching the discord server for stale threshold
shows people having this issue with USB sticks and the FAT filesystem. It seems that another common cause for this is using backup services that modify the filesystem. e.g; OneDrive, DropBox, etc...
A few things I'd try:
- See if the issue persists if you revert back to the previous version that you were using. You can do this in your
docker-compose.yml
file by specifying the version as a tag. e.g.;felddy/foundryvtt:0.6.6
From what I've read on discord I expect this will not fix the issue. - Create an empty store on the network filesystem and verify that the container works when that is mapped to the
/data
volume. I expect that this will work. - Are there any stale locks laying around? If you're on a POSIX system try running
find your_data_dir -name '*.lock'
The library that is upset is proper-lockfile. Foundry 0.7.5
is using the latest version of that library 4.1.1
. The error is being generated by this code:
So, it seems that the library is unable to update the modification time of the lock within the threshold time. It reads this as a compromised lock and throws an error. Again this points at the network filesystem as being the culprit.
A few questions:
- Could you provide some details about the configuration you're using?: Host OS, Network filesystem type.
- Does the lock error occur immediately, or did you take some action in the web interface?
I'm pretty sure we'll get this sorted out since it was working previously. Also, since we're playing around with your /data
directory make sure you've got a secured backup copy. I don't want you to lose anything critical.
Let me know what you find.
from foundryvtt-docker.
Thanks Mark --
I restarted the storage host and it's working again. I still saw the error when I booted the container up, but after waiting a while, the server finished loading.
I use a script to shut down each of my docker containers, then rsync docker-compose.yml
+ any data directories (I store my data in the same directory as the compose for ease of use), then start the container back up. It works pretty well, and it generally runs in the middle of the night, but I think it's possible I had some other processes hitting the storage earlier.
For the record -- ubuntu host + cifs mounted storage into my foundry directory. I then use Arq to back the data up to Backblaze B2 at night.
Cheers!
from foundryvtt-docker.
Great! I'm glad you were able to get it working. Thanks for sharing the specifics of your setup. It'll help the next person that encounters that lock issue.
I hope it is all smooth sailing for you from here. ⛵
If I can help you with anything else in the future please do not hesitate to contact me.
from foundryvtt-docker.
Related Issues (20)
- linux/s390x builds are no longer passing
- foundry.utils.IterableWeakMap is not constructor HOT 1
- No backup/snapshot options available HOT 2
- Auth Page not loading correctly HOT 8
- Can't use webm images because the container space is to small. HOT 2
- Remaining `config.json.lock` folder after stopping the container HOT 12
- Allow backup/world uploads HOT 2
- FOUNDRY_UID crashes running chown HOT 6
- Add support for `--nobackup` flag and configuration option
- Automate container_cache cleanup HOT 3
- ERROR: request returned Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2Fdocker_engine/_ping, check if the server supports the requested API version HOT 3
- Install Breaks when Admin provides Windows Install URL causing container to store the exe file in cache as zip file blocking further start after putting the correct Linux NODE URL. HOT 3
- SSL key not found HOT 1
- Foundry website login change broke authentication helper utility HOT 10
- Foundry login screen field name changes results in failed login attempts HOT 1
- Fatal error in Docker on a Raspberry Pi 4 HOT 8
- Health Check for docker container falsely reports unhealthy when foundryvtt is running with inbuilt https server
- Missing 10.312 tag HOT 1
- Shutting down the docker keeps the packs locked HOT 4
- container_patches directory cannot be accessed by container patch script
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foundryvtt-docker.