Open versae opened 3 years ago
It seems that there is a previous error on pybossa, when processing
"POST /project/nor-mnli/tasks/import HTTP/1.1"
which results in a 302 error.
Can you provide the previous 1000 lines of the log before
pybossa | 23:38:15: 172.24.0.1 - - [12/Mar/2021 23:38:15] "POST /project/nor-mnli/tasks/import HTTP/1.1" 302 -
Sure, here's the complete log:
username@bossa:~$ docker-compose up | tee docker.log.txt
Creating network "username_default" with the default driver
Pulling redis-master (redis:5.0-alpine)...
5.0-alpine: Pulling from library/redis
Digest: sha256:20ab6314c60b363e71051232cb2b584072b87981541c818a602e006fca5ba48e
Status: Downloaded newer image for redis:5.0-alpine
Pulling redis-sentinel (cerquide/redis-sentinel:latest)...
latest: Pulling from cerquide/redis-sentinel
Digest: sha256:eaddda422b90e1c5b4332efadb8f7b59517fe9b6a4057987d1ed012ef543a117
Status: Downloaded newer image for cerquide/redis-sentinel:latest
Pulling postgres (postgres:9.6-alpine)...
9.6-alpine: Pulling from library/postgres
Digest: sha256:4aef2a609328d7571cd1efbbb62e27a26337ee4dc64a341aa3835b9f99f727f1
Status: Downloaded newer image for postgres:9.6-alpine
Pulling db-init (cerquide/pybossa:latest)...
latest: Pulling from cerquide/pybossa
Digest: sha256:715a49811e674df02081d10de4378f613cff6d0c95b47c19cf9ddfeff7ca0248
Status: Downloaded newer image for cerquide/pybossa:latest
Creating username_postgres_1 ... done
Creating username_redis-master_1 ... done
Creating username_redis-sentinel_1 ... done
Creating username_db-init_1 ... done
Creating pybossa ... done
Creating pybossa-bgworker ... done
Attaching to username_redis-master_1, username_postgres_1, username_db-init_1, username_redis-sentinel_1, pybossa-bgworker, pybossa
postgres_1 | The files belonging to this database system will be owned by user "postgres".
postgres_1 | This user must also own the server process.
postgres_1 |
postgres_1 | The database cluster will be initialized with locale "en_US.utf8".
postgres_1 | The default database encoding has accordingly been set to "UTF8".
postgres_1 | The default text search configuration will be set to "english".
postgres_1 |
postgres_1 | Data page checksums are disabled.
postgres_1 |
postgres_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres_1 | creating subdirectories ... ok
postgres_1 | selecting default max_connections ... 100
postgres_1 | selecting default shared_buffers ... 128MB
postgres_1 | selecting default timezone ... UTC
postgres_1 | selecting dynamic shared memory implementation ... posix
postgres_1 | creating configuration files ... ok
postgres_1 | running bootstrap script ... ok
postgres_1 | performing post-bootstrap initialization ... sh: locale: not found
postgres_1 | No usable system locales were found.
postgres_1 | Use the option "--debug" to see details.
postgres_1 | ok
redis-master_1 | 1:C 13 Mar 2021 11:01:00.501 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-master_1 | 1:C 13 Mar 2021 11:01:00.501 # Redis version=5.0.12, bits=64, commit=00000000, modified=0, pid=1, just started
redis-master_1 | 1:C 13 Mar 2021 11:01:00.501 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis-master_1 | 1:M 13 Mar 2021 11:01:00.505 * Running mode=standalone, port=6379.
redis-master_1 | 1:M 13 Mar 2021 11:01:00.505 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis-master_1 | 1:M 13 Mar 2021 11:01:00.505 # Server initialized
redis-master_1 | 1:M 13 Mar 2021 11:01:00.505 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis-master_1 | 1:M 13 Mar 2021 11:01:00.506 * Ready to accept connections
redis-sentinel_1 | 1:X 13 Mar 2021 11:01:02.027 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-sentinel_1 | 1:X 13 Mar 2021 11:01:02.027 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=1, just started
redis-sentinel_1 | 1:X 13 Mar 2021 11:01:02.027 # Configuration loaded
redis-sentinel_1 | 1:X 13 Mar 2021 11:01:02.029 * Running mode=sentinel, port=26379.
redis-sentinel_1 | 1:X 13 Mar 2021 11:01:02.029 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis-sentinel_1 | 1:X 13 Mar 2021 11:01:02.046 # Sentinel ID is f174d61544647448d71d97640274cd0505f8e57a
redis-sentinel_1 | 1:X 13 Mar 2021 11:01:02.046 # +monitor master mymaster 172.28.0.3 6379 quorum 2
postgres_1 | syncing data to disk ...
postgres_1 | WARNING: enabling "trust" authentication for local connections
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
postgres_1 | ok
postgres_1 |
postgres_1 | Success. You can now start the database server using:
postgres_1 |
postgres_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres_1 |
postgres_1 | waiting for server to start....LOG: database system was shut down at 2021-03-13 11:01:03 UTC
postgres_1 | LOG: MultiXact member wraparound protections are now enabled
postgres_1 | LOG: database system is ready to accept connections
postgres_1 | LOG: autovacuum launcher started
postgres_1 | done
postgres_1 | server started
postgres_1 | CREATE DATABASE
postgres_1 |
postgres_1 |
postgres_1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
postgres_1 |
postgres_1 | LOG: received fast shutdown request
postgres_1 | LOG: aborting any active transactions
postgres_1 | LOG: autovacuum launcher shutting down
postgres_1 | LOG: shutting down
postgres_1 | waiting for server to shut down....LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | LOG: database system was shut down at 2021-03-13 11:01:07 UTC
postgres_1 | LOG: MultiXact member wraparound protections are now enabled
postgres_1 | LOG: database system is ready to accept connections
postgres_1 | LOG: autovacuum launcher started
pybossa-bgworker | /opt/pybossa/pybossa/extensions.py:112: FlaskWTFDeprecationWarning: "flask_wtf.CsrfProtect" has been renamed to "CSRFProtect" and will be removed in 1.0.
pybossa-bgworker | csrf = CsrfProtect()
pybossa-bgworker | /opt/pybossa/pybossa/util.py:350: SyntaxWarning: "is" with a literal. Did you mean "=="?
pybossa-bgworker | if env_cache_disabled is None or env_cache_disabled is '0':
pybossa-bgworker | /usr/local/lib/python3.8/site-packages/flask_sqlalchemy/__init__.py:834: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
pybossa-bgworker | warnings.warn(FSADeprecationWarning(
pybossa-bgworker | /opt/pybossa/pybossa/core.py:613: FlaskWTFDeprecationWarning: "@csrf.error_handler" is deprecated. Use the standard Flask error system with "@app.errorhandler(CSRFError)" instead. This will beremoved in 1.0.
pybossa-bgworker | def csrf_error_handler(reason):
pybossa-bgworker | 11:01:08: Twitter signin disabled: 'TWITTER_CONSUMER_KEY'
pybossa-bgworker | 11:01:08: Facebook signin disabled: 'FACEBOOK_APP_ID'
pybossa-bgworker | 11:01:08: Google signin disabled: 'GOOGLE_CLIENT_ID'
pybossa-bgworker | 11:01:08: Flickr importer not available: 'FLICKR_API_KEY'
pybossa-bgworker | 11:01:08: Dropbox importer not available: 'DROPBOX_APP_KEY'
pybossa-bgworker | 11:01:08: Twitter importer not available: 'TWITTER_CONSUMER_KEY'
pybossa-bgworker | 11:01:08: Youtube importer not available: 'YOUTUBE_API_SERVER_KEY'
pybossa-bgworker | 11:01:08: INFO: async mode is disabled.
pybossa-bgworker | 11:01:08: Worker rq:worker:7321227d07fa45179b2332ebbab7ea58: started, version 1.2.0
pybossa-bgworker | 11:01:08: *** Listening on scheduled_jobs, super, high, medium, low, email, maintenance...
pybossa-bgworker | 11:01:08: Cleaning registries for queue: scheduled_jobs
pybossa-bgworker | 11:01:08: Cleaning registries for queue: super
pybossa-bgworker | 11:01:08: Cleaning registries for queue: high
pybossa-bgworker | 11:01:08: Cleaning registries for queue: medium
pybossa-bgworker | 11:01:08: Cleaning registries for queue: low
pybossa-bgworker | 11:01:08: Cleaning registries for queue: email
pybossa-bgworker | 11:01:08: Cleaning registries for queue: maintenance
pybossa | /opt/pybossa/pybossa/extensions.py:112: FlaskWTFDeprecationWarning: "flask_wtf.CsrfProtect" has been renamed to "CSRFProtect" and will be removed in 1.0.
pybossa | csrf = CsrfProtect()
pybossa | /opt/pybossa/pybossa/util.py:350: SyntaxWarning: "is" with a literal. Did you mean "=="?
pybossa | if env_cache_disabled is None or env_cache_disabled is '0':
pybossa | /usr/local/lib/python3.8/site-packages/flask_sqlalchemy/__init__.py:834: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
pybossa | warnings.warn(FSADeprecationWarning(
pybossa | /opt/pybossa/pybossa/core.py:613: FlaskWTFDeprecationWarning: "@csrf.error_handler" is deprecated. Use the standard Flask error system with "@app.errorhandler(CSRFError)" instead. This will beremoved in 1.0.
pybossa | def csrf_error_handler(reason):
pybossa | 11:01:09: Twitter signin disabled: 'TWITTER_CONSUMER_KEY'
pybossa | 11:01:09: Facebook signin disabled: 'FACEBOOK_APP_ID'
pybossa | 11:01:09: Google signin disabled: 'GOOGLE_CLIENT_ID'
pybossa | 11:01:09: Flickr importer not available: 'FLICKR_API_KEY'
pybossa | 11:01:09: Dropbox importer not available: 'DROPBOX_APP_KEY'
pybossa | 11:01:09: Twitter importer not available: 'TWITTER_CONSUMER_KEY'
pybossa | 11:01:09: Youtube importer not available: 'YOUTUBE_API_SERVER_KEY'
pybossa | 11:01:09: INFO: async mode is disabled.
pybossa | Slave binds are misssing, adding Master as slave too.
pybossa | <class 'KeyError'>
pybossa | ('TWITTER_CONSUMER_KEY',)
pybossa | 'TWITTER_CONSUMER_KEY'
pybossa | Twitter signin disabled
pybossa | <class 'KeyError'>
pybossa | ('FACEBOOK_APP_ID',)
pybossa | 'FACEBOOK_APP_ID'
pybossa | Facebook signin disabled
pybossa | <class 'KeyError'>
pybossa | ('GOOGLE_CLIENT_ID',)
pybossa | 'GOOGLE_CLIENT_ID'
pybossa | Google signin disabled
pybossa | <class 'KeyError'>
pybossa | ('FLICKR_API_KEY',)
pybossa | 'FLICKR_API_KEY'
pybossa | Flickr importer not available
pybossa | <class 'KeyError'>
pybossa | ('DROPBOX_APP_KEY',)
pybossa | 'DROPBOX_APP_KEY'
pybossa | Dropbox importer not available
pybossa | <class 'KeyError'>
pybossa | ('TWITTER_CONSUMER_KEY',)
pybossa | 'TWITTER_CONSUMER_KEY'
pybossa | Twitter importer not available
pybossa | <class 'KeyError'>
pybossa | ('YOUTUBE_API_SERVER_KEY',)
pybossa | 'YOUTUBE_API_SERVER_KEY'
pybossa | Youtube importer not available
pybossa | * Serving Flask app "pybossa.core" (lazy loading)
pybossa | * Environment: production
pybossa | WARNING: This is a development server. Do not use it in a production deployment.
pybossa | Use a production WSGI server instead.
pybossa | * Debug mode: off
pybossa | 11:01:09: * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
db-init_1 | /opt/pybossa/pybossa/extensions.py:112: FlaskWTFDeprecationWarning: "flask_wtf.CsrfProtect" has been renamed to "CSRFProtect" and will be removed in 1.0.
db-init_1 | csrf = CsrfProtect()
db-init_1 | /opt/pybossa/pybossa/util.py:350: SyntaxWarning: "is" with a literal. Did you mean "=="?
db-init_1 | if env_cache_disabled is None or env_cache_disabled is '0':
db-init_1 | /usr/local/lib/python3.8/site-packages/flask_sqlalchemy/__init__.py:834: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
db-init_1 | warnings.warn(FSADeprecationWarning(
db-init_1 | /opt/pybossa/pybossa/core.py:613: FlaskWTFDeprecationWarning: "@csrf.error_handler" is deprecated. Use the standard Flask error system with "@app.errorhandler(CSRFError)" instead. This will beremoved in 1.0.
db-init_1 | def csrf_error_handler(reason):
db-init_1 | 11:01:10: Twitter signin disabled: 'TWITTER_CONSUMER_KEY'
db-init_1 | 11:01:10: Facebook signin disabled: 'FACEBOOK_APP_ID'
db-init_1 | 11:01:10: Google signin disabled: 'GOOGLE_CLIENT_ID'
db-init_1 | 11:01:10: Flickr importer not available: 'FLICKR_API_KEY'
db-init_1 | 11:01:10: Dropbox importer not available: 'DROPBOX_APP_KEY'
db-init_1 | 11:01:10: Twitter importer not available: 'TWITTER_CONSUMER_KEY'
db-init_1 | 11:01:10: Youtube importer not available: 'YOUTUBE_API_SERVER_KEY'
db-init_1 | 11:01:10: INFO: async mode is disabled.
db-init_1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
db-init_1 | INFO [alembic.runtime.migration] Will assume transactional DDL.
db-init_1 | INFO [alembic.runtime.migration] Running stamp_revision -> 66ecf0b2aed5
db-init_1 | Slave binds are misssing, adding Master as slave too.
db-init_1 | <class 'KeyError'>
db-init_1 | ('TWITTER_CONSUMER_KEY',)
db-init_1 | 'TWITTER_CONSUMER_KEY'
db-init_1 | Twitter signin disabled
db-init_1 | <class 'KeyError'>
db-init_1 | ('FACEBOOK_APP_ID',)
db-init_1 | 'FACEBOOK_APP_ID'
db-init_1 | Facebook signin disabled
db-init_1 | <class 'KeyError'>
db-init_1 | ('GOOGLE_CLIENT_ID',)
db-init_1 | 'GOOGLE_CLIENT_ID'
db-init_1 | Google signin disabled
db-init_1 | <class 'KeyError'>
db-init_1 | ('FLICKR_API_KEY',)
db-init_1 | 'FLICKR_API_KEY'
db-init_1 | Flickr importer not available
db-init_1 | <class 'KeyError'>
db-init_1 | ('DROPBOX_APP_KEY',)
db-init_1 | 'DROPBOX_APP_KEY'
db-init_1 | Dropbox importer not available
db-init_1 | <class 'KeyError'>
db-init_1 | ('TWITTER_CONSUMER_KEY',)
db-init_1 | 'TWITTER_CONSUMER_KEY'
db-init_1 | Twitter importer not available
db-init_1 | <class 'KeyError'>
db-init_1 | ('YOUTUBE_API_SERVER_KEY',)
db-init_1 | 'YOUTUBE_API_SERVER_KEY'
db-init_1 | Youtube importer not available
username_db-init_1 exited with code 0
pybossa | /usr/local/lib/python3.8/site-packages/rq_dashboard/legacy_config.py:26: UserWarning: Configuration option REDIS_DB is depricated and will be removed in future versions. Please use RQ_DASHBOARD_REDIS_DB instead.
pybossa | warnings.warn(warning_template.format(old_name=old_name, new_name=new_name), UserWarning)
pybossa | 11:01:21: 172.28.0.1 - - [13/Mar/2021 11:01:21] "GET / HTTP/1.1" 200 -
pybossa | 11:01:21: 172.28.0.1 - - [13/Mar/2021 11:01:21] "GET /static/css/gen/pybossa.min.css?c4bfbb0b HTTP/1.1" 200 -
pybossa | 11:01:21: 172.28.0.1 - - [13/Mar/2021 11:01:21] "GET /static/js/gen/default.min.js?83439d70 HTTP/1.1" 200 -
pybossa | 11:01:22: 172.28.0.1 - - [13/Mar/2021 11:01:22] "GET /static/img/default_logo.svg HTTP/1.1" 200 -
pybossa | 11:01:22: 172.28.0.1 - - [13/Mar/2021 11:01:22] "GET /static/img/pybossa.svg HTTP/1.1" 200 -
pybossa | 11:01:22: 172.28.0.1 - - [13/Mar/2021 11:01:22] "GET /static/img/favicon/favicon-16x16.png HTTP/1.1" 200 -
pybossa | 11:01:22: 172.28.0.1 - - [13/Mar/2021 11:01:22] "GET /static/img/favicon/android-chrome-192x192.png HTTP/1.1" 200 -
pybossa | /opt/pybossa/pybossa/view/account.py:103: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
pybossa | form = LoginForm(request.body)
pybossa | 11:01:27: 172.28.0.1 - - [13/Mar/2021 11:01:27] "GET /account/signin HTTP/1.1" 200 -
pybossa | 11:01:27: 172.28.0.1 - - [13/Mar/2021 11:01:27] "GET /static/css/gen/pybossa.min.css?c4bfbb0b HTTP/1.1" 200 -
pybossa | 11:01:27: 172.28.0.1 - - [13/Mar/2021 11:01:27] "GET /static/js/gen/default.min.js?83439d70 HTTP/1.1" 200 -
pybossa | 11:01:28: 172.28.0.1 - - [13/Mar/2021 11:01:28] "GET /static/img/default_logo.svg HTTP/1.1" 200 -
pybossa | 11:01:28: 172.28.0.1 - - [13/Mar/2021 11:01:28] "GET /static/img/pybossa.svg HTTP/1.1" 200 -
pybossa | 11:01:28: 172.28.0.1 - - [13/Mar/2021 11:01:28] "GET /static/img/favicon/android-chrome-192x192.png HTTP/1.1" 200 -
pybossa | 11:01:28: 172.28.0.1 - - [13/Mar/2021 11:01:28] "GET /static/img/favicon/favicon-16x16.png HTTP/1.1" 200 -
pybossa | /opt/pybossa/pybossa/view/account.py:320: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
pybossa | form = RegisterForm(request.body)
pybossa | 11:01:33: 172.28.0.1 - - [13/Mar/2021 11:01:33] "GET /account/register HTTP/1.1" 200 -
pybossa | 11:01:33: 172.28.0.1 - - [13/Mar/2021 11:01:33] "GET /static/js/forms.js HTTP/1.1" 200 -
pybossa | 11:01:33: 172.28.0.1 - - [13/Mar/2021 11:01:33] "GET /static/js/gen/default.min.js?83439d70 HTTP/1.1" 200 -
pybossa | 11:01:33: 172.28.0.1 - - [13/Mar/2021 11:01:33] "GET /static/css/gen/pybossa.min.css?c4bfbb0b HTTP/1.1" 200 -
pybossa | 11:01:34: 172.28.0.1 - - [13/Mar/2021 11:01:34] "GET /static/img/default_logo.svg HTTP/1.1" 200 -
pybossa | 11:01:34: 172.28.0.1 - - [13/Mar/2021 11:01:34] "GET /static/img/pybossa.svg HTTP/1.1" 200 -
pybossa | 11:01:34: 172.28.0.1 - - [13/Mar/2021 11:01:34] "GET /static/img/favicon/favicon-16x16.png HTTP/1.1" 200 -
pybossa | 11:01:34: 172.28.0.1 - - [13/Mar/2021 11:01:34] "GET /static/img/favicon/android-chrome-192x192.png HTTP/1.1" 200 -
pybossa | /opt/pybossa/pybossa/view/account.py:320: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
pybossa | form = RegisterForm(request.body)
pybossa | 11:02:06: 172.28.0.1 - - [13/Mar/2021 11:02:06] "POST /account/register HTTP/1.1" 302 -
pybossa | 11:02:06: 172.28.0.1 - - [13/Mar/2021 11:02:06] "GET / HTTP/1.1" 200 -
pybossa | 11:02:06: 172.28.0.1 - - [13/Mar/2021 11:02:06] "GET /static/js/gen/default.min.js?83439d70 HTTP/1.1" 200 -
pybossa | 11:02:06: 172.28.0.1 - - [13/Mar/2021 11:02:06] "GET /static/css/gen/pybossa.min.css?c4bfbb0b HTTP/1.1" 200 -
pybossa | 11:02:07: 172.28.0.1 - - [13/Mar/2021 11:02:07] "GET /static/img/default_logo.svg HTTP/1.1" 200 -
pybossa | 11:02:07: 172.28.0.1 - - [13/Mar/2021 11:02:07] "GET /static/img/pybossa.svg HTTP/1.1" 200 -
pybossa | 11:02:07: 172.28.0.1 - - [13/Mar/2021 11:02:07] "GET /static/img/favicon/android-chrome-192x192.png HTTP/1.1" 200 -
pybossa | 11:02:07: 172.28.0.1 - - [13/Mar/2021 11:02:07] "GET /static/img/favicon/favicon-16x16.png HTTP/1.1" 200 -
pybossa | /opt/pybossa/pybossa/view/projects.py:271: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
pybossa | form = ProjectForm(request.body)
pybossa | 11:02:12: 172.28.0.1 - - [13/Mar/2021 11:02:12] "GET /project/new HTTP/1.1" 200 -
pybossa | 11:02:12: 172.28.0.1 - - [13/Mar/2021 11:02:12] "GET /static/js/gen/default.min.js?83439d70 HTTP/1.1" 200 -
pybossa | 11:02:12: 172.28.0.1 - - [13/Mar/2021 11:02:12] "GET /static/js/forms.js HTTP/1.1" 200 -
pybossa | 11:02:12: 172.28.0.1 - - [13/Mar/2021 11:02:12] "GET /static/css/gen/pybossa.min.css?c4bfbb0b HTTP/1.1" 200 -
pybossa | 11:02:13: 172.28.0.1 - - [13/Mar/2021 11:02:13] "GET /static/img/placeholder.user.png HTTP/1.1" 200 -
pybossa | 11:02:13: 172.28.0.1 - - [13/Mar/2021 11:02:13] "GET /static/img/default_logo.svg HTTP/1.1" 200 -
pybossa | 11:02:13: 172.28.0.1 - - [13/Mar/2021 11:02:13] "GET /static/img/pybossa.svg HTTP/1.1" 200 -
pybossa | 11:02:13: 172.28.0.1 - - [13/Mar/2021 11:02:13] "GET /static/img/favicon/favicon-16x16.png HTTP/1.1" 200 -
pybossa | 11:02:13: 172.28.0.1 - - [13/Mar/2021 11:02:13] "GET /static/img/favicon/android-chrome-192x192.png HTTP/1.1" 200 -
pybossa | /opt/pybossa/pybossa/view/projects.py:271: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
pybossa | form = ProjectForm(request.body)
pybossa | 11:02:20: 172.28.0.1 - - [13/Mar/2021 11:02:20] "POST /project/new HTTP/1.1" 302 -
pybossa | /opt/pybossa/pybossa/view/projects.py:504: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
pybossa | form = ProjectUpdateForm(obj=project)
pybossa | /opt/pybossa/pybossa/view/projects.py:505: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
pybossa | upload_form = AvatarUploadForm()
pybossa | 11:02:21: 172.28.0.1 - - [13/Mar/2021 11:02:21] "GET /project/nor-mnli/update HTTP/1.1" 200 -
pybossa | 11:02:21: 172.28.0.1 - - [13/Mar/2021 11:02:21] "GET /static/js/gen/default.min.js?83439d70 HTTP/1.1" 200 -
pybossa | 11:02:21: 172.28.0.1 - - [13/Mar/2021 11:02:21] "GET /static/js/vendor/cropper.min.js HTTP/1.1" 200 -
pybossa | 11:02:21: 172.28.0.1 - - [13/Mar/2021 11:02:21] "GET /static/css/cropper.min.css HTTP/1.1" 200 -
pybossa | 11:02:21: 172.28.0.1 - - [13/Mar/2021 11:02:21] "GET /static/css/gen/pybossa.min.css?c4bfbb0b HTTP/1.1" 200 -
pybossa | 11:02:21: 172.28.0.1 - - [13/Mar/2021 11:02:21] "GET /static/js/image_crop.js HTTP/1.1" 200 -
pybossa | 11:02:21: 172.28.0.1 - - [13/Mar/2021 11:02:21] "GET /static/img/placeholder.project.png HTTP/1.1" 200 -
pybossa | 11:02:21: 172.28.0.1 - - [13/Mar/2021 11:02:21] "GET /static/img/default_logo.svg HTTP/1.1" 200 -
pybossa | 11:02:21: 172.28.0.1 - - [13/Mar/2021 11:02:21] "GET /static/img/pybossa.svg HTTP/1.1" 200 -
pybossa | 11:02:22: 172.28.0.1 - - [13/Mar/2021 11:02:22] "GET /static/img/favicon/android-chrome-192x192.png HTTP/1.1" 200 -
pybossa | 11:02:22: 172.28.0.1 - - [13/Mar/2021 11:02:22] "GET /static/img/favicon/favicon-16x16.png HTTP/1.1" 200 -
pybossa | /opt/pybossa/pybossa/view/projects.py:514: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
pybossa | upload_form = AvatarUploadForm()
pybossa | /opt/pybossa/pybossa/view/projects.py:515: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
pybossa | form = ProjectUpdateForm(request.body)
pybossa | 11:02:36: 172.28.0.1 - - [13/Mar/2021 11:02:36] "POST /project/nor-mnli/update HTTP/1.1" 302 -
pybossa | 11:02:37: 172.28.0.1 - - [13/Mar/2021 11:02:37] "GET /project/nor-mnli/ HTTP/1.1" 200 -
pybossa | 11:02:37: 172.28.0.1 - - [13/Mar/2021 11:02:37] "GET /static/css/gen/pybossa.min.css?c4bfbb0b HTTP/1.1" 200 -
pybossa | 11:02:37: 172.28.0.1 - - [13/Mar/2021 11:02:37] "GET /static/js/gen/default.min.js?83439d70 HTTP/1.1" 200 -
pybossa | 11:02:37: 172.28.0.1 - - [13/Mar/2021 11:02:37] "GET /static/img/default_logo.svg HTTP/1.1" 200 -
pybossa | 11:02:37: 172.28.0.1 - - [13/Mar/2021 11:02:37] "GET /static/img/pybossa.svg HTTP/1.1" 200 -
pybossa | 11:02:37: 172.28.0.1 - - [13/Mar/2021 11:02:37] "GET /static/img/placeholder.project.png HTTP/1.1" 200 -
pybossa | 11:02:37: 172.28.0.1 - - [13/Mar/2021 11:02:37] "GET /static/img/favicon/favicon-16x16.png HTTP/1.1" 200 -
pybossa | 11:02:37: 172.28.0.1 - - [13/Mar/2021 11:02:37] "GET /static/img/favicon/android-chrome-192x192.png HTTP/1.1" 200 -
pybossa | 11:02:39: 172.28.0.1 - - [13/Mar/2021 11:02:39] "GET /project/nor-mnli/tasks/ HTTP/1.1" 200 -
pybossa | 11:02:39: 172.28.0.1 - - [13/Mar/2021 11:02:39] "GET /static/css/gen/pybossa.min.css?c4bfbb0b HTTP/1.1" 200 -
pybossa | 11:02:39: 172.28.0.1 - - [13/Mar/2021 11:02:39] "GET /static/js/gen/default.min.js?83439d70 HTTP/1.1" 200 -
pybossa | 11:02:40: 172.28.0.1 - - [13/Mar/2021 11:02:40] "GET /static/img/pybossa.svg HTTP/1.1" 200 -
pybossa | 11:02:40: 172.28.0.1 - - [13/Mar/2021 11:02:40] "GET /static/img/placeholder.project.png HTTP/1.1" 200 -
pybossa | 11:02:40: 172.28.0.1 - - [13/Mar/2021 11:02:40] "GET /static/img/default_logo.svg HTTP/1.1" 200 -
pybossa | 11:02:40: 172.28.0.1 - - [13/Mar/2021 11:02:40] "GET /static/img/favicon/favicon-16x16.png HTTP/1.1" 200 -
pybossa | 11:02:40: 172.28.0.1 - - [13/Mar/2021 11:02:40] "GET /static/img/favicon/android-chrome-192x192.png HTTP/1.1" 200 -
pybossa | 11:02:45: 172.28.0.1 - - [13/Mar/2021 11:02:45] "GET /project/nor-mnli/tasks/import HTTP/1.1" 200 -
pybossa | 11:02:46: 172.28.0.1 - - [13/Mar/2021 11:02:46] "GET /static/css/gen/pybossa.min.css?c4bfbb0b HTTP/1.1" 200 -
pybossa | 11:02:46: 172.28.0.1 - - [13/Mar/2021 11:02:46] "GET /static/js/gen/default.min.js?83439d70 HTTP/1.1" 200 -
pybossa | 11:02:46: 172.28.0.1 - - [13/Mar/2021 11:02:46] "GET /static/img/placeholder.project.png HTTP/1.1" 200 -
pybossa | 11:02:46: 172.28.0.1 - - [13/Mar/2021 11:02:46] "GET /static/img/default_logo.svg HTTP/1.1" 200 -
pybossa | 11:02:46: 172.28.0.1 - - [13/Mar/2021 11:02:46] "GET /static/img/pybossa.svg HTTP/1.1" 200 -
pybossa | 11:02:46: 172.28.0.1 - - [13/Mar/2021 11:02:46] "GET /static/img/favicon/android-chrome-192x192.png HTTP/1.1" 200 -
pybossa | 11:02:46: 172.28.0.1 - - [13/Mar/2021 11:02:46] "GET /static/img/favicon/favicon-16x16.png HTTP/1.1" 200 -
pybossa | /opt/pybossa/pybossa/forms/forms.py:331: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
pybossa | return self._forms[form_name](*form_args, **form_kwargs)
pybossa | 11:02:49: 172.28.0.1 - - [13/Mar/2021 11:02:49] "GET /project/nor-mnli/tasks/import?type=localCSV HTTP/1.1" 200 -
pybossa | 11:02:49: 172.28.0.1 - - [13/Mar/2021 11:02:49] "GET /static/js/gen/default.min.js?83439d70 HTTP/1.1" 200 -
pybossa | 11:02:49: 172.28.0.1 - - [13/Mar/2021 11:02:49] "GET /static/css/gen/pybossa.min.css?c4bfbb0b HTTP/1.1" 200 -
pybossa | 11:02:49: 172.28.0.1 - - [13/Mar/2021 11:02:49] "GET /static/img/default_logo.svg HTTP/1.1" 200 -
pybossa | 11:02:49: 172.28.0.1 - - [13/Mar/2021 11:02:49] "GET /static/img/placeholder.project.png HTTP/1.1" 200 -
pybossa | 11:02:49: 172.28.0.1 - - [13/Mar/2021 11:02:49] "GET /static/img/pybossa.svg HTTP/1.1" 200 -
pybossa | 11:02:50: 172.28.0.1 - - [13/Mar/2021 11:02:50] "GET /static/img/favicon/android-chrome-192x192.png HTTP/1.1" 200 -
pybossa | 11:02:50: 172.28.0.1 - - [13/Mar/2021 11:02:50] "GET /static/img/favicon/favicon-16x16.png HTTP/1.1" 200 -
pybossa-bgworker | 11:03:03: medium: pybossa.jobs.import_tasks(1, csv_filename='/opt/pybossa/uploads/user_1/xnli_dev_no_mt.csv', type='localCSV') (b5864f4f-99d6-465e-b8b4-84bc77976139)
pybossa | /opt/pybossa/pybossa/forms/forms.py:331: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
pybossa | return self._forms[form_name](*form_args, **form_kwargs)
pybossa | 11:03:03: 172.28.0.1 - - [13/Mar/2021 11:03:03] "POST /project/nor-mnli/tasks/import HTTP/1.1" 302 -
pybossa | 11:03:03: 172.28.0.1 - - [13/Mar/2021 11:03:03] "GET /project/nor-mnli/tasks/ HTTP/1.1" 200 -
pybossa | 11:03:03: 172.28.0.1 - - [13/Mar/2021 11:03:03] "GET /static/css/gen/pybossa.min.css?c4bfbb0b HTTP/1.1" 200 -
pybossa | 11:03:03: 172.28.0.1 - - [13/Mar/2021 11:03:03] "GET /static/js/gen/default.min.js?83439d70 HTTP/1.1" 200 -
pybossa | 11:03:04: 172.28.0.1 - - [13/Mar/2021 11:03:04] "GET /static/img/pybossa.svg HTTP/1.1" 200 -
pybossa | 11:03:04: 172.28.0.1 - - [13/Mar/2021 11:03:04] "GET /static/img/placeholder.project.png HTTP/1.1" 200 -
pybossa | 11:03:04: 172.28.0.1 - - [13/Mar/2021 11:03:04] "GET /static/img/default_logo.svg HTTP/1.1" 200 -
pybossa | 11:03:04: 172.28.0.1 - - [13/Mar/2021 11:03:04] "GET /static/img/favicon/favicon-16x16.png HTTP/1.1" 200 -
pybossa | 11:03:04: 172.28.0.1 - - [13/Mar/2021 11:03:04] "GET /static/img/favicon/android-chrome-192x192.png HTTP/1.1" 200 -
pybossa-bgworker | 11:03:23: AttributeError: 'NoneType' object has no attribute 'is_authenticated'
pybossa-bgworker | Traceback (most recent call last):
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/rq/worker.py", line 875, in perform_job
pybossa-bgworker | rv = job.perform()
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/rq/job.py", line 648, in perform
pybossa-bgworker | self._result = self._execute()
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/rq/job.py", line 654, in _execute
pybossa-bgworker | return self.func(*self.args, **self.kwargs)
pybossa-bgworker | File "/opt/pybossa/pybossa/jobs.py", line 521, in import_tasks
pybossa-bgworker | report = importer.create_tasks(task_repo, project_id, **form_data)
pybossa-bgworker | File "/opt/pybossa/pybossa/importers/importer.py", line 69, in create_tasks
pybossa-bgworker | for task_data in importer.tasks():
pybossa-bgworker | File "/opt/pybossa/pybossa/importers/csv.py", line 177, in tasks
pybossa-bgworker | return self._get_csv_data_from_request(csv_filename)
pybossa-bgworker | File "/opt/pybossa/pybossa/importers/csv.py", line 166, in _get_csv_data_from_request
pybossa-bgworker | raise BulkImportException(gettext(msg), 'error')
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/flask_babel/__init__.py", line 552, in gettext
pybossa-bgworker | t = get_translations()
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/flask_babel/__init__.py", line 227, in get_translations
pybossa-bgworker | [get_locale()],
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/flask_babel/__init__.py", line 257, in get_locale
pybossa-bgworker | rv = babel.locale_selector_func()
pybossa-bgworker | File "/opt/pybossa/pybossa/core.py", line 280, in _get_locale
pybossa-bgworker | if current_user.is_authenticated:
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/werkzeug/local.py", line 348, in __getattr__
pybossa-bgworker | return getattr(self._get_current_object(), name)
pybossa-bgworker | AttributeError: 'NoneType' object has no attribute 'is_authenticated'
pybossa-bgworker | Traceback (most recent call last):
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/rq/worker.py", line 875, in perform_job
pybossa-bgworker | rv = job.perform()
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/rq/job.py", line 648, in perform
pybossa-bgworker | self._result = self._execute()
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/rq/job.py", line 654, in _execute
pybossa-bgworker | return self.func(*self.args, **self.kwargs)
pybossa-bgworker | File "/opt/pybossa/pybossa/jobs.py", line 521, in import_tasks
pybossa-bgworker | report = importer.create_tasks(task_repo, project_id, **form_data)
pybossa-bgworker | File "/opt/pybossa/pybossa/importers/importer.py", line 69, in create_tasks
pybossa-bgworker | for task_data in importer.tasks():
pybossa-bgworker | File "/opt/pybossa/pybossa/importers/csv.py", line 177, in tasks
pybossa-bgworker | return self._get_csv_data_from_request(csv_filename)
pybossa-bgworker | File "/opt/pybossa/pybossa/importers/csv.py", line 166, in _get_csv_data_from_request
pybossa-bgworker | raise BulkImportException(gettext(msg), 'error')
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/flask_babel/__init__.py", line 552, in gettext
pybossa-bgworker | t = get_translations()
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/flask_babel/__init__.py", line 227, in get_translations
pybossa-bgworker | [get_locale()],
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/flask_babel/__init__.py", line 257, in get_locale
pybossa-bgworker | rv = babel.locale_selector_func()
pybossa-bgworker | File "/opt/pybossa/pybossa/core.py", line 280, in _get_locale
pybossa-bgworker | if current_user.is_authenticated:
pybossa-bgworker | File "/usr/local/lib/python3.8/site-packages/werkzeug/local.py", line 348, in __getattr__
pybossa-bgworker | return getattr(self._get_current_object(), name)
pybossa-bgworker | AttributeError: 'NoneType' object has no attribute 'is_authenticated'
postgres_1 | LOG: unexpected EOF on client connection with an open transaction
pybossa | 11:08:11: 172.28.0.1 - - [13/Mar/2021 11:08:11] "GET / HTTP/1.1" 200 -
Stopping pybossa-bgworker ... done
Stopping pybossa ... done
Stopping username_redis-sentinel_1 ... done
Stopping username_redis-master_1 ... done
Stopping username_postgres_1 ... done
Any idea on why this could be happening?
Nope, sorry. Unable to help, here.
Hi, thanks for the docker and compose files. really useful!
However, while I get the system setup fine, whenever I try to upload a CSV the worker fails saying that
current_user
isNone
. Specifically, the error isAttributeError: 'NoneType' object has no attribute 'is_authenticated' on pybossa-bgworker
. I am not sure if the issue comes from the dockerization of PyBossa or from PyBossa itself, hence my posting of the issue here.Cheers.