Open draotth opened 2 years ago
/#/push_devices
cannot be reached either with errors like the following in restyaboard:
restyaboard_1 | ^ in /var/lib/nginx/html/server/php/libs/core.php on line 3919PHP message: PHP Warning: pg_fetch_object() expects parameter 1 to be resource, bool given in /var/lib/nginx/html/server/php/libs/core.php on line 3920PHP message: PHP Notice: Trying to get property 'count' of non-object in /var/lib/nginx/html/server/php/libs/core.php on line 3929PHP message: PHP Notice: Trying to get property 'count' of non-object in /var/lib/nginx/html/server/php/libs/core.php on line 3930PHP message: PHP Notice: Trying to get property 'count' of non-object in /var/lib/nginx/html/server/php/libs/core.php on line 3930PHP message: PHP Notice: Trying to get property 'count' of non-object in /var/lib/nginx/html/server/php/libs/core.php on line 3933PHP message: PHP Warning: pg_query_params(): Query failed: ERROR: relation "user_push_tokens" does not exist
restyaboard_1 | LINE 1: SELECT count(*) FROM user_push_tokens WHERE is_active = $1
restyaboard_1 | ^ in /var/lib/nginx/html/server/php/libs/core.php on line 568PHP message: PHP Warning: pg_num_rows() expects parameter 1 to be resource, bool given in /var/lib/nginx/html/server/php/libs/core.php on line 569PHP message: PHP Warning: pg_query_params(): Query failed: ERROR: relation "user_push_tokens" does not exist
restyaboard_1 | LINE 1: SELECT count(*) FROM user_push_tokens WHERE is_active = $1
restyaboard_1 | ^ in /var/lib/nginx/html/server/php/libs/core.php on line 568PHP message: PHP Warning: pg_num_rows() expects parameter 1 to be resource, bool given in /var/lib/nginx/html/server/php/libs/core.php on line 569PHP message: PHP Warning: pg_query_params(): Query failed: ERROR: relation "user_push_tokens_listing" does not exist
restyaboard_1 | LINE 1: SELECT row_to_json(d) FROM (SELECT * FROM
It looks like a database upgrade hasn't been run, but I would expect this to have been done by the init scripts.
@draotth Sorry for your inconvenience, we will check and fix the issue
@draotth We have updated the restyaboard dev branch docker image to the latest files, please use the docker image now.
Expected Behavior
Can save user settings on default restya board install in Docker.
Current Behavior
Cannot save settings (no error shown in UI)
Screenshots (if appropriate):
Possible Solution
Steps to Reproduce (for bugs)
Note, postgres docker container shows this in log:
Completely wiped all docker images/volumes and restarted: Restyaboard log:
Context
Your Environment
My
docker-compose.yml