You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Your birthday. Needed to calculate heart rate zones.
78
78
ATHLETE_BIRTHDAY=YYYY-MM-DD
79
79
# History of weight (in kg or pounds, depending on UNIT_SYSTEM). Needed to calculate relative w/kg.
80
+
# Check https://github.com/robiningelbrecht/strava-statistics/wiki/FAQ for more info.
80
81
ATHLETE_WEIGHTS='{
81
82
"YYYY-MM-DD": 74.6,
82
83
"YYYY-MM-DD": 70.3
83
84
}'
84
-
# History of FTP. Needed to calculate activity stress level
85
+
# History of FTP. Needed to calculate activity stress level.
86
+
# Check https://github.com/robiningelbrecht/strava-statistics/wiki/FAQ for more info.
85
87
FTP_VALUES='{
86
88
"YYYY-MM-DD": 198,
87
89
"YYYY-MM-DD": 220
88
90
}'
89
91
```
90
92
91
-
### Permission issues
92
-
93
-
You might encounter an `SQLSTATE[HY000] [14] unable to open database file` error. There's an [open issue](https://github.com/robiningelbrecht/strava-statistics/issues/57) to investigate this. In the mean time, you can run following commands manually to fix this:
94
-
95
-
```bash
96
-
> chmod -R 777 storage/database
97
-
> chmod -R 777 storage/files
98
-
```
99
-
100
93
### Import all challenges and trophies
101
94
102
95
Strava does not allow to fetch all your completed challenges and trophies, but there's a little workaround if you'd like to import those:
@@ -122,15 +115,9 @@ You can configure a crontab on your host system:
* Because of technical (Strava) limitations, not all Strava challenges can be imported. Only the visible ones on your public profile can be imported
128
-
(please be sure that your profile is public, otherwise this won't work)
129
-
* Running the import for the first time can take a while, depending on how many activities you have on Strava.
130
-
Strava's API has a `rate limit` of `100 request per 15 minutes` and a `1000 requests per day`. We have to make sure
131
-
this limit is not exceeded. See https://developers.strava.com/docs/rate-limits/. If you have more than 500 activities,
132
-
you might run into the daily rate limit. If you do so, the app will import the remaining activities the next day(s).
133
-
* You can only build the files once all data from Strava was imported
120
+
Read [the wiki](https://github.com/robiningelbrecht/strava-statistics/wiki/FAQ) before opening new issues. The question you have might be answered over there.
0 commit comments