Comments (6)
Which installation method and which commands are you using?
from tracks.
i am following the Installation guide from this repo: https://github.com/TracksApp/tracks/blob/master/doc/installation.md
My DB install script:
docker run -d -p 3306:3306 --name tracks-db -e MYSQL_ROOT_PASSWORD=blank123 -d mariadb
My DB Setup script:
docker run --link tracks-db:db --rm -t -e "DATABASE_PASSWORD=blank123" -e "DATABASE_TYPE=mysql2" -e "DATABASE_PORT=3306" tracksapp/tracks:2.6.1 bin/rake db:reset --trace
My Tracks install script:
docker run -d -p 3000:3000 --name tracks --link tracks-db:db -t tracksapp/tracks:2.6.1
from tracks.
I'm having the same problem with a Docker container running on UNRAID 6.9.2, using the UNRAID Community Apps feature to install it. It appears to be using this repository: https://hub.docker.com/r/tracksapp/tracks
This is the error I get:
=> Booting Puma
=> Rails 6.0.4.6 application starting in production
=> Run rails server --help
for more startup options
A server is already running. Check /app/tmp/pids/server.pid.
There is an installation note with the container, which reads:
NOTE: After installing, you must console into the container and run the following command to initialize the database first!
rake db:reset
After running that command, you should see the database has tables in it and the app should be usable at that point.
I successfully executed this command and have not had any issues. A reboot of the host server will restore functionality, but only so long as the container is not stopped.
from tracks.
I am also experiencing this problem.
I am using
- the latest tracksapp on docker (tho the problem existed on a previous image as well)
- an external postgreSQL database (14.6)
- an ArchLinux host (updated @ 28/12/2022)
The container can be created fine but after stopping and attempting to restart, the following is logged:
=> Booting Puma
=> Rails 6.0.5.1 application starting in production
=> Run `rails server --help` for more startup options
A server is already running. Check /app/tmp/pids/server.pid.
Obviously I cannot reinitialise my database as @cosmoneer suggests
When the container is first run-up, it logs this...
=> Booting Puma
=> Rails 6.0.5.1 application starting in production
=> Run `rails server --help` for more startup options
Puma starting in single mode...
* Puma version: 6.0.0 (ruby 2.7.7-p221) ("Sunflower")
* Min threads: 5
* Max threads: 5
* Environment: production
* PID: 9
* Listening on http://0.0.0.0:3000
Use Ctrl-C to stop
from tracks.
The container can be reliably rebuilt at anytime using the existing database.
It is just the start/stop cycle do not function
from tracks.
I had the same issue with the /app
folder being a volume mounted from the host in the container. Removing the file /app/tmp/pids/server.pid
before restarting the container solves the issue.
from tracks.
Related Issues (20)
- Check that the From address entered by the user isn't already in use
- gem install mysql2 gives error because library missing HOT 1
- Cannot map site.yml when using docker run HOT 2
- Feature Request: Auto rake db:reset HOT 1
- Feature: Nested projects HOT 1
- Changing the language in Preferences , error ?? HOT 1
- Adapter name for PostgreSQL? Special chars in passwords? HOT 1
- Automatic page refresh should not happen while editing a task
- Access denied for user 'tracks'@'172.17.0.3' HOT 4
- Postgres command is wrong in 'Docker installation using separate container'
- Postgres DB Scheme setup not working HOT 5
- Reverse Proxy Config info HOT 1
- Deleted a Project yet an Action remained and is uneditable HOT 1
- Adding a base url to the application HOT 1
- How to set a default Context HOT 1
- Creating an account with the same details as an existing one fails silentlty
- Forgot password functionality HOT 1
- Fails to run under Ruby 3.1 (Ubuntu 23.04) HOT 1
- Subtasks
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 tracks.