Unknown Timezone: ‘UTC’
at Function.tzset (/opt/openhabcloud/node_modules/time/index.js:149:15)
at Date.setTimezone (/opt/openhabcloud/node_modules/time/index.js:251:18)
at to_local (/opt/openhabcloud/date_util.js:22:17)
at to_moment (/opt/openhabcloud/date_util.js:35:30)
at Object.module.exports [as date_util] (/opt/openhabcloud/date_util.js:39:12)
at eval (eval at compile (/opt/openhabcloud/node_modules/ejs/lib/ejs.js:481:12), :84:24)
at eval (eval at compile (/opt/openhabcloud/node_modules/ejs/lib/ejs.js:481:12), :146:10)
at returnedFn (/opt/openhabcloud/node_modules/ejs/lib/ejs.js:512:17)
at View.exports.renderFile [as engine] (/opt/openhabcloud/node_modules/ejs/lib/ejs.js:364:31)
at View.render (/opt/openhabcloud/node_modules/express/lib/view.js:135:8)
at tryRender (/opt/openhabcloud/node_modules/express/lib/application.js:640:10)
at Function.render (/opt/openhabcloud/node_modules/express/lib/application.js:592:3)
at ServerResponse.render (/opt/openhabcloud/node_modules/express/lib/response.js:1012:7)
at /opt/openhabcloud/routes/index.js:93:13
at Layer.handle [as handle_request] (/opt/openhabcloud/node_modules/express/lib/router/layer.js:95:5)
at next (/opt/openhabcloud/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/opt/openhabcloud/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/opt/openhabcloud/node_modules/express/lib/router/layer.js:95:5)
at /opt/openhabcloud/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/opt/openhabcloud/node_modules/express/lib/router/index.js:335:12)
at next (/opt/openhabcloud/node_modules/express/lib/router/index.js:275:10)
at SendStream.error (/opt/openhabcloud/node_modules/serve-static/index.js:121:7)
Seems like this issue is there again… I just tried, I got this:
Error: /opt/openhabcloud/views/index.ejs:2
1| <% section = 'index' %>
>> 2| <%- include header.ejs %>
3| <% if (!user) { %>
4|
5| <section id="content">
/opt/openhabcloud/views/header.ejs:149
147| <% if (openhabstatus == 'online') { %>
148| <li class="openhab-online">
>> 149| <a href="/events?source=openhab" title="Since <%= date_util(openhablastonline, timeZone).calendar()%>">Online</a>
150| </li>
151| <% } else { %>
152| <li class="openhab-offline">
Unknown Timezone: 'UTC'
at Function.tzset (/opt/openhabcloud/node_modules/time/index.js:149:15)
at Date.setTimezone (/opt/openhabcloud/node_modules/time/index.js:251:18)
at to_local (/opt/openhabcloud/date_util.js:22:17)
at to_moment (/opt/openhabcloud/date_util.js:35:30)
at Object.module.exports [as date_util] (/opt/openhabcloud/date_util.js:39:12)
at eval (eval at compile (/opt/openhabcloud/node_modules/ejs/lib/ejs.js:481:12), <anonymous>:75:24)
at eval (eval at compile (/opt/openhabcloud/node_modules/ejs/lib/ejs.js:481:12), <anonymous>:146:10)
at returnedFn (/opt/openhabcloud/node_modules/ejs/lib/ejs.js:512:17)
at View.exports.renderFile [as engine] (/opt/openhabcloud/node_modules/ejs/lib/ejs.js:364:31)
at View.render (/opt/openhabcloud/node_modules/express/lib/view.js:135:8)
at tryRender (/opt/openhabcloud/node_modules/express/lib/application.js:640:10)
at Function.render (/opt/openhabcloud/node_modules/express/lib/application.js:592:3)
at ServerResponse.render (/opt/openhabcloud/node_modules/express/lib/response.js:1012:7)
at exports.index (/opt/openhabcloud/routes/homepage.js:8:7)
at Layer.handle [as handle_request] (/opt/openhabcloud/node_modules/express/lib/router/layer.js:95:5)
at next (/opt/openhabcloud/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/opt/openhabcloud/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/opt/openhabcloud/node_modules/express/lib/router/layer.js:95:5)
at /opt/openhabcloud/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/opt/openhabcloud/node_modules/express/lib/router/index.js:335:12)
at next (/opt/openhabcloud/node_modules/express/lib/router/index.js:275:10)
at SendStream.error (/opt/openhabcloud/node_modules/serve-static/index.js:121:7)
i logged in, and then a second after the issued appeared. After that each time i try enter i get the issue. I have refrrshed the browser cache (CTRL-F5). It didnt help.
EDIT - Just tried from my home office PC… No issue…
The issue I had yesterday was from my outside office PC.
I just recently did a fresh install of openHab on a Synology NAS after I was running it on macOS before.
I connected to myOpenHAB and all seemed to work fine. But now, none of the data on myOpenHab seems to update. I don’t see updated online/offline status and I don’t see new items.
Still, the new items seem to be there since I can access them through Google Home and I can change their status through Google Home.