Closed joaquimrcarvalho closed 8 months ago
2023-08-31 14:40:23 ERROR: -g run_server_forever: source_sink `'/kleio-home/system/conf/kleio/token_db'' does not exist (No such file or directory) 2023-08-31 14:40:23 ERROR: In: 2023-08-31 14:40:23 ERROR: [26] open('/kleio-home/system/conf/kleio/token_db',append,_444,[close_on_abort(false),...|...]) 2023-08-31 14:40:23 ERROR: [25] persistency:db_open_file('/kleio-home/system/conf/kleio/token_db',append,_502) at /usr/lib/swipl/library/persistency.pl:477 2023-08-31 14:40:23 ERROR: [24] persistency:persistent(tokens,assert(user_token('55c14d1e95a17ec4545f6f6b3dc920b1e68c8cc8',bootstrap,...))) at /usr/lib/swipl/library/persistency.pl:469 2023-08-31 14:40:23 ERROR: [22] <meta call> 2023-08-31 14:40:23 ERROR: [21] with_mutex('$persistency',db_assert_sync(tokens: ...)) <foreign> 2023-08-31 14:40:23 ERROR: [17] tokens:retractall_user_token(_654,bootstrap,_658),tokens:assert_user_token('55c14d1e95a17ec4545f6f6b3dc920b1e68c8cc8',bootstrap,...) at /usr/lib/swipl/boot/init.pl:400 2023-08-31 14:40:23 ERROR: [16] <meta call> 2023-08-31 14:40:23 ERROR: [15] with_mutex(user_token,(retractall_user_token(_732,bootstrap,_736),assert_user_token('55c14d1e95a17ec4545f6f6b3dc920b1e68c8cc8',bootstrap,...))) <foreign> 2023-08-31 14:40:23 ERROR: [14] tokens:generate_token(bootstrap,[life_span(300),...],'55c14d1e95a17ec4545f6f6b3dc920b1e68c8cc8') at /usr/local/timelink/clio/src/tokens.pl:120 2023-08-31 14:40:23 ERROR: [13] restServer:check_token_database(bootstrap) at /usr/local/timelink/clio/src/restServer.pl:368 2023-08-31 14:40:23 ERROR: [12] restServer:check_token_database at /usr/local/timelink/clio/src/restServer.pl:352 2023-08-31 14:40:23 ERROR: [11] restServer:start_rest_server at /usr/local/timelink/clio/src/restServer.pl:297 2023-08-31 14:40:23 ERROR: [10] run_server at /usr/local/timelink/clio/src/serverStart.pl:53 2023-08-31 14:40:23 ERROR: [9] run_server_forever at /usr/local/timelink/clio/src/serverStart.pl:64 2023-08-31 14:40:23 ERROR: [8] catch(user:run_server_forever,_984,'$toplevel':true) at /usr/lib/swipl/boot/init.pl:565 2023-08-31 14:40:23 ERROR: [7] catch_with_backtrace('<garbage_collected>','<garbage_collected>','<garbage_collected>') at /usr/lib/swipl/boot/init.pl:645 2023-08-31 14:40:23 ERROR: 2023-08-31 14:40:23 ERROR: Note: some frames are missing due to last-call optimization. 2023-08-31 14:40:23 ERROR: Re-run your program in debug mode (:- debug.) to get more detail.
This seems to be related to the persistence directive used in tokens.pl . See https://www.swi-prolog.org/pldoc/man?section=persistency
This seems to be related to the persistence directive used in tokens.pl . See https://www.swi-prolog.org/pldoc/man?section=persistency