{"action":"created","issue":{"url":"https://api.github.com/repos/Requarks/wiki/issues/1064","repository_url":"https://api.github.com/repos/Requarks/wiki","labels_url":"https://api.github.com/repos/Requarks/wiki/issues/1064/labels{/name}","comments_url":"https://api.github.com/repos/Requarks/wiki/issues/1064/comments","events_url":"https://api.github.com/repos/Requarks/wiki/issues/1064/events","html_url":"https://github.com/Requarks/wiki/issues/1064","id":498813681,"node_id":"MDU6SXNzdWU0OTg4MTM2ODE=","number":1064,"title":"First run failed - Fetching latest updates from Graph endpoint","user":{"login":"Steve-Mcl","id":44235289,"node_id":"MDQ6VXNlcjQ0MjM1Mjg5","avatar_url":"https://avatars0.githubusercontent.com/u/44235289?v=4","gravatar_id":"","url":"https://api.github.com/users/Steve-Mcl","html_url":"https://github.com/Steve-Mcl","followers_url":"https://api.github.com/users/Steve-Mcl/followers","following_url":"https://api.github.com/users/Steve-Mcl/following{/other_user}","gists_url":"https://api.github.com/users/Steve-Mcl/gists{/gist_id}","starred_url":"https://api.github.com/users/Steve-Mcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Steve-Mcl/subscriptions","organizations_url":"https://api.github.com/users/Steve-Mcl/orgs","repos_url":"https://api.github.com/users/Steve-Mcl/repos","events_url":"https://api.github.com/users/Steve-Mcl/events{/privacy}","received_events_url":"https://api.github.com/users/Steve-Mcl/received_events","type":"User","site_admin":false},"labels":[{"id":425873368,"node_id":"MDU6TGFiZWw0MjU4NzMzNjg=","url":"https://api.github.com/repos/Requarks/wiki/labels/help","name":"help","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":{"login":"NGPixel","id":15522395,"node_id":"MDQ6VXNlcjE1NTIyMzk1","avatar_url":"https://avatars3.githubusercontent.com/u/15522395?v=4","gravatar_id":"","url":"https://api.github.com/users/NGPixel","html_url":"https://github.com/NGPixel","followers_url":"https://api.github.com/users/NGPixel/followers","following_url":"https://api.github.com/users/NGPixel/following{/other_user}","gists_url":"https://api.github.com/users/NGPixel/gists{/gist_id}","starred_url":"https://api.github.com/users/NGPixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NGPixel/subscriptions","organizations_url":"https://api.github.com/users/NGPixel/orgs","repos_url":"https://api.github.com/users/NGPixel/repos","events_url":"https://api.github.com/users/NGPixel/events{/privacy}","received_events_url":"https://api.github.com/users/NGPixel/received_events","type":"User","site_admin":false},"assignees":[{"login":"NGPixel","id":15522395,"node_id":"MDQ6VXNlcjE1NTIyMzk1","avatar_url":"https://avatars3.githubusercontent.com/u/15522395?v=4","gravatar_id":"","url":"https://api.github.com/users/NGPixel","html_url":"https://github.com/NGPixel","followers_url":"https://api.github.com/users/NGPixel/followers","following_url":"https://api.github.com/users/NGPixel/following{/other_user}","gists_url":"https://api.github.com/users/NGPixel/gists{/gist_id}","starred_url":"https://api.github.com/users/NGPixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NGPixel/subscriptions","organizations_url":"https://api.github.com/users/NGPixel/orgs","repos_url":"https://api.github.com/users/NGPixel/repos","events_url":"https://api.github.com/users/NGPixel/events{/privacy}","received_events_url":"https://api.github.com/users/NGPixel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2019-09-26T10:58:03Z","updated_at":"2019-09-26T15:21:45Z","closed_at":"2019-09-26T15:21:45Z","author_association":"NONE","body":"\r\n**Host Info**\r\nOS: Windows 10\r\nWiki.js version: 2.0.0-beta.303\r\nDatabase engine: sqlite\r\n\r\n\r\n\r\nOn first run, the application fails with the below error.\r\n\r\nThis may be related to proxy however I CAN open https://graph.requarks.io/ in the browser on the same machine.\r\n\r\nIs there a workaround - i.e. can files be manually downloaded and place into installation folder?\r\n\r\nWould greatly appreciate some assistance as I wish to evaluate WikiJS as a replacement for our aged screwturn wiki.\r\n\r\nThanks Steve.\r\n\r\n**First run log...**\r\n```\r\n2019-09-26T10:27:12.458Z [MASTER] info: =======================================\r\n2019-09-26T10:27:12.464Z [MASTER] info: = Wiki.js 2.0.0-beta.303 ==============\r\n2019-09-26T10:27:12.465Z [MASTER] info: =======================================\r\n2019-09-26T10:27:12.466Z [MASTER] info: Initializing...\r\n2019-09-26T10:27:13.220Z [MASTER] info: Connecting to database...\r\n2019-09-26T10:27:13.748Z [MASTER] info: Database Connection Successful [ OK ]\r\n2019-09-26T10:27:14.554Z [MASTER] warn: DB Configuration is empty or incomplete. Switching to Setup mode...\r\n2019-09-26T10:27:14.557Z [MASTER] info: Starting setup wizard...\r\n2019-09-26T10:27:15.353Z [MASTER] info: Starting HTTP server on port 3000...\r\n2019-09-26T10:27:15.355Z [MASTER] info: HTTP Server on port: [ 3000 ]\r\n2019-09-26T10:27:15.376Z [MASTER] info: HTTP Server: [ RUNNING ]\r\n2019-09-26T10:27:15.379Z [MASTER] info: 🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻\r\n2019-09-26T10:27:15.381Z [MASTER] info:\r\n2019-09-26T10:27:15.383Z [MASTER] info: Browse to http://localhost:3000/ to complete setup!\r\n2019-09-26T10:27:15.383Z [MASTER] info:\r\n2019-09-26T10:27:15.383Z [MASTER] info: 🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺\r\n2019-09-26T10:28:07.084Z [MASTER] info: Creating data directories...\r\n2019-09-26T10:28:07.110Z [MASTER] info: Generating certificates...\r\n2019-09-26T10:28:07.659Z [MASTER] info: Persisting config to DB...\r\n2019-09-26T10:28:11.549Z [MASTER] info: Installing default locale...\r\n2019-09-26T10:28:12.596Z [MASTER] info: Creating default groups...\r\n2019-09-26T10:28:14.158Z [MASTER] info: Loaded 20 new authentication strategies: [ OK ]\r\n2019-09-26T10:28:15.863Z [MASTER] info: Loaded 3 new editors: [ OK ]\r\n2019-09-26T10:28:17.409Z [MASTER] info: Loaded 12 new loggers: [ OK ]\r\n2019-09-26T10:28:18.111Z [MASTER] info: Loaded 19 new renderers: [ OK ]\r\n2019-09-26T10:28:19.018Z [MASTER] info: Loaded 9 new search engines: [ OK ]\r\n2019-09-26T10:28:21.533Z [MASTER] info: Loaded 10 new storage targets: [ OK ]\r\n2019-09-26T10:28:21.535Z [MASTER] info: Creating root administrator...\r\n2019-09-26T10:28:23.239Z [MASTER] info: Creating guest account...\r\n2019-09-26T10:28:23.847Z [MASTER] info: Creating default site navigation\r\n2019-09-26T10:28:24.332Z [MASTER] info: Setup is complete!\r\n2019-09-26T10:28:24.336Z [MASTER] info: Stopping Setup...\r\n2019-09-26T10:28:24.338Z [MASTER] info: Setup stopped. Starting Wiki.js...\r\n2019-09-26T10:28:28.805Z [MASTER] warn: Mail is not setup! Please set the configuration in the administration area!\r\n2019-09-26T10:28:29.657Z [MASTER] info: Loading GraphQL Schema...\r\n2019-09-26T10:28:32.175Z [MASTER] info: GraphQL Schema: [ OK ]\r\n2019-09-26T10:28:32.747Z [MASTER] info: HTTP Server on port: [ 3000 ]\r\n2019-09-26T10:28:32.910Z [MASTER] info: HTTP Server: [ RUNNING ]\r\nTypeError: C:\\wiki\\server\\views\\master.pug:2\r\n    1| doctype html\r\n  > 2| html(lang=siteConfig.lang)\r\n    3|   head\r\n    4|     meta(http-equiv='X-UA-Compatible', content='IE=edge')\r\n    5|     meta(charset='UTF-8')\r\n\r\nCannot read property 'lang' of undefined\r\n    at eval (eval at wrap (C:\\wiki\\node_modules\\pug-runtime\\wrap.js:6:10), <anonymous>:6:67)\r\n    at template (eval at wrap (C:\\wiki\\node_modules\\pug-runtime\\wrap.js:6:10), <anonymous>:151:139)\r\n    at Object.exports.renderFile (C:\\wiki\\node_modules\\pug\\lib\\index.js:427:38)\r\n    at Object.exports.renderFile (C:\\wiki\\node_modules\\pug\\lib\\index.js:417:21)\r\n    at View.exports.__express [as engine] (C:\\wiki\\node_modules\\pug\\lib\\index.js:464:11)\r\n    at View.render (C:\\wiki\\node_modules\\express\\lib\\view.js:135:8)\r\n    at tryRender (C:\\wiki\\node_modules\\express\\lib\\application.js:640:10)\r\n    at Function.render (C:\\wiki\\node_modules\\express\\lib\\application.js:592:3)\r\n    at ServerResponse.render (C:\\wiki\\node_modules\\express\\lib\\response.js:1012:7)\r\n    at app.use (C:\\wiki\\server\\master.js:178:9)\r\n    at Layer.handle_error (C:\\wiki\\node_modules\\express\\lib\\router\\layer.js:71:5)\r\n    at trim_prefix (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:315:13)\r\n    at C:\\wiki\\node_modules\\express\\lib\\router\\index.js:284:7\r\n    at Function.process_params (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:335:12)\r\n    at next (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:275:10)\r\n    at Layer.handle_error (C:\\wiki\\node_modules\\express\\lib\\router\\layer.js:67:12)\r\n    at trim_prefix (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:315:13)\r\n    at C:\\wiki\\node_modules\\express\\lib\\router\\index.js:284:7\r\n    at Function.process_params (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:335:12)\r\n    at next (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:275:10)\r\n    at Layer.handle_error (C:\\wiki\\node_modules\\express\\lib\\router\\layer.js:67:12)\r\n    at trim_prefix (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:315:13)\r\nTypeError: C:\\wiki\\server\\views\\master.pug:2\r\n    1| doctype html\r\n  > 2| html(lang=siteConfig.lang)\r\n    3|   head\r\n    4|     meta(http-equiv='X-UA-Compatible', content='IE=edge')\r\n    5|     meta(charset='UTF-8')\r\n\r\nCannot read property 'lang' of undefined\r\n    at eval (eval at wrap (C:\\wiki\\node_modules\\pug-runtime\\wrap.js:6:10), <anonymous>:6:67)\r\n    at template (eval at wrap (C:\\wiki\\node_modules\\pug-runtime\\wrap.js:6:10), <anonymous>:151:139)\r\n    at Object.exports.renderFile (C:\\wiki\\node_modules\\pug\\lib\\index.js:427:38)\r\n    at Object.exports.renderFile (C:\\wiki\\node_modules\\pug\\lib\\index.js:417:21)\r\n    at View.exports.__express [as engine] (C:\\wiki\\node_modules\\pug\\lib\\index.js:464:11)\r\n    at View.render (C:\\wiki\\node_modules\\express\\lib\\view.js:135:8)\r\n    at tryRender (C:\\wiki\\node_modules\\express\\lib\\application.js:640:10)\r\n    at Function.render (C:\\wiki\\node_modules\\express\\lib\\application.js:592:3)\r\n    at ServerResponse.render (C:\\wiki\\node_modules\\express\\lib\\response.js:1012:7)\r\n    at app.use (C:\\wiki\\server\\master.js:178:9)\r\n    at Layer.handle_error (C:\\wiki\\node_modules\\express\\lib\\router\\layer.js:71:5)\r\n    at trim_prefix (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:315:13)\r\n    at C:\\wiki\\node_modules\\express\\lib\\router\\index.js:284:7\r\n    at Function.process_params (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:335:12)\r\n    at next (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:275:10)\r\n    at Layer.handle_error (C:\\wiki\\node_modules\\express\\lib\\router\\layer.js:67:12)\r\n    at trim_prefix (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:315:13)\r\n    at C:\\wiki\\node_modules\\express\\lib\\router\\index.js:284:7\r\n    at Function.process_params (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:335:12)\r\n    at next (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:275:10)\r\n    at Layer.handle_error (C:\\wiki\\node_modules\\express\\lib\\router\\layer.js:67:12)\r\n    at trim_prefix (C:\\wiki\\node_modules\\express\\lib\\router\\index.js:315:13)\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Requarks/wiki/issues/comments/535555135","html_url":"https://github.com/Requarks/wiki/issues/1064#issuecomment-535555135","issue_url":"https://api.github.com/repos/Requarks/wiki/issues/1064","id":535555135,"node_id":"MDEyOklzc3VlQ29tbWVudDUzNTU1NTEzNQ==","user":{"login":"Steve-Mcl","id":44235289,"node_id":"MDQ6VXNlcjQ0MjM1Mjg5","avatar_url":"https://avatars0.githubusercontent.com/u/44235289?v=4","gravatar_id":"","url":"https://api.github.com/users/Steve-Mcl","html_url":"https://github.com/Steve-Mcl","followers_url":"https://api.github.com/users/Steve-Mcl/followers","following_url":"https://api.github.com/users/Steve-Mcl/following{/other_user}","gists_url":"https://api.github.com/users/Steve-Mcl/gists{/gist_id}","starred_url":"https://api.github.com/users/Steve-Mcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Steve-Mcl/subscriptions","organizations_url":"https://api.github.com/users/Steve-Mcl/orgs","repos_url":"https://api.github.com/users/Steve-Mcl/repos","events_url":"https://api.github.com/users/Steve-Mcl/events{/privacy}","received_events_url":"https://api.github.com/users/Steve-Mcl/received_events","type":"User","site_admin":false},"created_at":"2019-09-26T15:21:45Z","updated_at":"2019-09-26T15:21:45Z","author_association":"NONE","body":"For anyone reading this - I redid the whole thing.\r\n\r\n1. Follow this [guide](https://docs.requarks.io/en/install/windows) (but DO NOT RUN!)\r\n1. Edit config (notepad .\\config.yml)\r\n   1. set `offline: false' \r\n1. Sideload [language files](https://docs.requarks.io/en/install/sideload)\r\n1. start up `node server` "}}
{"actor":{"display_login":"Steve-Mcl"}}