您好,我将我编写的oTree实验部署到了Heroku,并成功部署了(或者我认为..),但是在单击应承载应用程序的链接时,我收到一条错误消息,提示我应该查阅heroku日志。我是编程的新手,并且跟随oTree网站从头开始编写代码,但是有关部署问题排查的部分很少,我认为自己很固执。
如果有人能指出导致问题的原因,我将不胜感激。谢谢!
Starting process with command `otree resetdb --noinput`
State changed from starting to up
INFO Database engine: Postgres
INFO Dropping 47 tables...
Operations to perform:
Synchronize unmigrated apps: auth, channels, contenttypes, djhuey, forms, guess_two_thirds, idmap, messages, otree, payment_info, pgg_v1_jul15, public_goods, quiz, real_effort, sessions, staticfiles, survey, trust
Apply all migrations: (none)
Synchronizing apps without migrations:
Creating tables...
Creating table otree_pagecompletion
Creating table otree_pagetimeout
Creating table otree_completedgroupwaitpage
Creating table otree_completedsubsessionwaitpage
Creating table otree_participanttoplayerlookup
Creating table otree_participantlockmodel
Creating table otree_undefinedformmodel
Creating table otree_roomtosession
Creating table otree_failedsessioncreation
Creating table otree_participantroomvisit
Creating table otree_browserbotslaunchersessioncode
Creating table otree_chatmessage
Creating table otree_session
Creating table otree_participant
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table django_content_type
Creating table django_session
Creating table survey_subsession
Creating table survey_group
Creating table survey_player
Creating table guess_two_thirds_subsession
Creating table guess_two_thirds_group
Creating table guess_two_thirds_player
Creating table payment_info_subsession
Creating table payment_info_group
Creating table payment_info_player
Creating table public_goods_subsession
Creating table public_goods_group
Creating table public_goods_player
Creating table trust_subsession
Creating table trust_group
Creating table trust_player
Creating table quiz_subsession
Creating table quiz_group
Creating table quiz_player
Creating table real_effort_subsession
Creating table real_effort_group
Creating table real_effort_player
Creating table pgg_v1_jul15_subsession
Creating table pgg_v1_jul15_group
Creating table pgg_v1_jul15_player
Running deferred SQL...
正在运行的迁移: 没有迁移申请。 INFO创建新的表和列。 状态从完成更改为完成 进程退出,状态为0
我尝试安装Git,创建SSH密钥(即oTree网站中概述的所有内容),并且还基于对人们遇到的类似问题进行故障排除。
$ heroku logs --tail
2019-08-07T19:42:05.418718+00:00 app[api]: Release v1 created by user [redacted]
2019-08-07T19:42:05.418718+00:00 app[api]: Initial release by user [redacted]
2019-08-07T19:42:05.639465+00:00 app[api]: Release v2 created by user [redacted]
2019-08-07T19:42:05.639465+00:00 app[api]: Enable Logplex by user [redacted]
2019-08-07T19:42:25.043042+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=v1-deploy.herokuapp.com request_id=787a1073-4606-465a-9294-f093d849578c fwd="160.39.54.66" dyno= connect= service= status=502 bytes= protocol=https
2019-08-07T19:42:25.317376+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=v1-deploy.herokuapp.com request_id=c433c299-05ba-4df2-9d0f-bc4f540dd15d fwd="160.39.54.66" dyno= connect= service= status=502 bytes= protocol=https
2019-08-07T19:43:06.155747+00:00 app[api]: @ref:redis-curved-45518 completed provisioning, setting REDIS_URL. by user heroku-redis@addons.heroku.com
2019-08-07T19:43:06.155747+00:00 app[api]: Release v3 created by user heroku-redis@addons.heroku.com
2019-08-07T19:44:15+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.105 sample#load-avg-5m=0.055 sample#load-avg-15m=0.05 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15664228kB sample#memory-free=12006808kB sample#memory-cached=2257480kB sample#memory-redis=583760bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T19:46:04+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.015 sample#load-avg-5m=0.035 sample#load-avg-15m=0.04 sample#read-iops=0 sample#write-iops=14.966 sample#memory-total=15664228kB sample#memory-free=11994752kB sample#memory-cached=2272180kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T19:47:59+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.055 sample#load-avg-5m=0.035 sample#load-avg-15m=0.04 sample#read-iops=0 sample#write-iops=14.496 sample#memory-total=15664228kB sample#memory-free=12017076kB sample#memory-cached=2286788kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T19:48:56+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.02 sample#load-avg-5m=0.03 sample#load-avg-15m=0.04 sample#read-iops=0 sample#write-iops=14.683 sample#memory-total=15664228kB sample#memory-free=12004028kB sample#memory-cached=2293672kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T19:50:38+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.09 sample#load-avg-5m=0.06 sample#load-avg-15m=0.05 sample#read-iops=0 sample#write-iops=15.092 sample#memory-total=15664228kB sample#memory-free=11995768kB sample#memory-cached=2306016kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T19:52:20+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.01 sample#load-avg-5m=0.04 sample#load-avg-15m=0.04 sample#read-iops=0 sample#write-iops=14.942 sample#memory-total=15664228kB sample#memory-free=11981460kB sample#memory-cached=2319192kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T19:55:10+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0 sample#load-avg-5m=0.025 sample#load-avg-15m=0.035 sample#read-iops=0 sample#write-iops=15.074 sample#memory-total=15664228kB sample#memory-free=11969420kB sample#memory-cached=2330664kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T19:56:55+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0 sample#load-avg-5m=0.015 sample#load-avg-15m=0.03 sample#read-iops=0 sample#write-iops=15.286 sample#memory-total=15664228kB sample#memory-free=11992460kB sample#memory-cached=2304316kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T19:58:41+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0 sample#load-avg-5m=0.01 sample#load-avg-15m=0.025 sample#read-iops=0 sample#write-iops=14.742 sample#memory-total=15664228kB sample#memory-free=11962916kB sample#memory-cached=2332788kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:00:18+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0 sample#load-avg-5m=0.005 sample#load-avg-15m=0.02 sample#read-iops=0 sample#write-iops=14.717 sample#memory-total=15664228kB sample#memory-free=11951080kB sample#memory-cached=2346404kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:02:01+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.01 sample#load-avg-5m=0.01 sample#load-avg-15m=0.02 sample#read-iops=0 sample#write-iops=13.777 sample#memory-total=15664228kB sample#memory-free=11977896kB sample#memory-cached=2319952kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:03:47+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.005 sample#load-avg-5m=0.01 sample#load-avg-15m=0.015 sample#read-iops=0 sample#write-iops=13.425 sample#memory-total=15664228kB sample#memory-free=11965696kB sample#memory-cached=2335024kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:05:31+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0 sample#load-avg-5m=0.005 sample#load-avg-15m=0.01 sample#read-iops=0 sample#write-iops=14.37 sample#memory-total=15664228kB sample#memory-free=11945524kB sample#memory-cached=2353592kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:07:14+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.03 sample#load-avg-5m=0.01 sample#load-avg-15m=0.01 sample#read-iops=0 sample#write-iops=15.65 sample#memory-total=15664228kB sample#memory-free=11934892kB sample#memory-cached=2361584kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:09:01+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.025 sample#load-avg-5m=0.02 sample#load-avg-15m=0.01 sample#read-iops=0 sample#write-iops=14.408 sample#memory-total=15664228kB sample#memory-free=11925908kB sample#memory-cached=2369120kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:10:28+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.07 sample#load-avg-5m=0.035 sample#load-avg-15m=0.015 sample#read-iops=0 sample#write-iops=15.083 sample#memory-total=15664228kB sample#memory-free=11907688kB sample#memory-cached=2385812kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:12:00+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.025 sample#load-avg-5m=0.025 sample#load-avg-15m=0.01 sample#read-iops=0 sample#write-iops=14.733 sample#memory-total=15664228kB sample#memory-free=11897924kB sample#memory-cached=2394728kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:14:21+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.085 sample#load-avg-5m=0.04 sample#load-avg-15m=0.015 sample#read-iops=0 sample#write-iops=14.941 sample#memory-total=15664228kB sample#memory-free=11921020kB sample#memory-cached=2372256kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:16:00+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.07 sample#load-avg-5m=0.05 sample#load-avg-15m=0.02 sample#read-iops=0 sample#write-iops=14.925 sample#memory-total=15664228kB sample#memory-free=11879900kB sample#memory-cached=2410596kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:17:36+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.07 sample#load-avg-5m=0.065 sample#load-avg-15m=0.03 sample#read-iops=0 sample#write-iops=14.612 sample#memory-total=15664228kB sample#memory-free=11873108kB sample#memory-cached=2414304kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:19:18+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.035 sample#load-avg-5m=0.055 sample#load-avg-15m=0.03 sample#read-iops=0 sample#write-iops=15.458 sample#memory-total=15664228kB sample#memory-free=11886360kB sample#memory-cached=2403708kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:20:55+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.01 sample#load-avg-5m=0.045 sample#load-avg-15m=0.025 sample#read-iops=0 sample#write-iops=15.098 sample#memory-total=15664228kB sample#memory-free=11877988kB sample#memory-cached=2413796kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:22:34+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0 sample#load-avg-5m=0.025 sample#load-avg-15m=0.02 sample#read-iops=0 sample#write-iops=15.432 sample#memory-total=15664228kB sample#memory-free=11950132kB sample#memory-cached=2340104kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:24:12+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.06 sample#load-avg-5m=0.055 sample#load-avg-15m=0.03 sample#read-iops=0 sample#write-iops=15.033 sample#memory-total=15664228kB sample#memory-free=11918748kB sample#memory-cached=2369988kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:26:23+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.02 sample#load-avg-5m=0.04 sample#load-avg-15m=0.03 sample#read-iops=0 sample#write-iops=15.288 sample#memory-total=15664228kB sample#memory-free=11904704kB sample#memory-cached=2381900kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:28:00+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.045 sample#load-avg-5m=0.04 sample#load-avg-15m=0.03 sample#read-iops=0 sample#write-iops=15.783 sample#memory-total=15664228kB sample#memory-free=11917444kB sample#memory-cached=2368212kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:29:45+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.05 sample#load-avg-5m=0.045 sample#load-avg-15m=0.03 sample#read-iops=0 sample#write-iops=14.55 sample#memory-total=15664228kB sample#memory-free=11901556kB sample#memory-cached=2382960kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:31:20+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.1 sample#load-avg-5m=0.06 sample#load-avg-15m=0.035 sample#read-iops=0 sample#write-iops=14.627 sample#memory-total=15664228kB sample#memory-free=11892704kB sample#memory-cached=2391828kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:32:54+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.06 sample#load-avg-5m=0.07 sample#load-avg-15m=0.045 sample#read-iops=0 sample#write-iops=15.508 sample#memory-total=15664228kB sample#memory-free=11932944kB sample#memory-cached=2345688kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:34:46+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.075 sample#load-avg-5m=0.065 sample#load-avg-15m=0.045 sample#read-iops=0 sample#write-iops=15.504 sample#memory-total=15664228kB sample#memory-free=11934020kB sample#memory-cached=2344272kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:36:27+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.08 sample#load-avg-5m=0.075 sample#load-avg-15m=0.05 sample#read-iops=0 sample#write-iops=15.597 sample#memory-total=15664228kB sample#memory-free=11916716kB sample#memory-cached=2358692kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:38:06+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.055 sample#load-avg-5m=0.07 sample#load-avg-15m=0.05 sample#read-iops=0 sample#write-iops=14.952 sample#memory-total=15664228kB sample#memory-free=11929772kB sample#memory-cached=2346380kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:39:54+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.085 sample#load-avg-5m=0.09 sample#load-avg-15m=0.055 sample#read-iops=0 sample#write-iops=14.941 sample#memory-total=15664228kB sample#memory-free=11900120kB sample#memory-cached=2376748kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0
2019-08-07T20:41:38+00:00 app[heroku-redis]: source=REDIS addon=redis-curved-45518 sample#active-connections=1 sample#load-avg-1m=0.025 sample#load-avg-5m=0.065 sample#load-avg-15m=0.05 sample#read-iops=0 sample#write-iops=15.983 sample#memory-total=15664228kB sample#memory-free=11960576kB sample#memory-cached=2310508kB sample#memory-redis=1653240bytes sample#hit-rate=1 sample#evicted-keys=0