Skip to content

Bug: fatal error on 0.6.5 'Invalid Timezone' #390

Description

@FluffyClaws
  • Self hosted app commit SHA (find in user menu): [4a29d03]
    • I have confirmed that my app's commit is the latest version of Sure
  • Where are you hosting?
    • Docker Compose

Bug description

After updateing to the latest stable v0.6.5 (4a29d03) on startup getting fatal error F, [2025-11-30T13:13:12.596973 #1] FATAL -- : ArgumentError (Invalid Timezone: Europe/Kiev)

If the session is expired or non-existent it will render a login screen but upon login it will throw an error message. Screenshots attached.

Reverse proxy is not an issue, getting same behaviour via IP:Port as well, this wasn`t happening with v0.6.4

Full log from startup to getting an error

W, [2025-11-30T13:12:41.072902 #7]  WARN -- : OIDC not enabled: missing env vars: OIDC_ISSUER, OIDC_CLIENT_ID, OIDC_CLIENT_SECRET, OIDC_REDIRECT_URI

I, [2025-11-30T13:12:41.134778 #7]  INFO -- : [SKYLIGHT] [6.0.4] Unable to start, see the Skylight logs for more details

=> Booting Puma

=> Rails 7.2.2.2 application starting in production 

=> Run `bin/rails server --help` for more startup options

W, [2025-11-30T13:12:44.333007 #1]  WARN -- : OIDC not enabled: missing env vars: OIDC_ISSUER, OIDC_CLIENT_ID, OIDC_CLIENT_SECRET, OIDC_REDIRECT_URI

I, [2025-11-30T13:12:44.467057 #1]  INFO -- : [SKYLIGHT] [6.0.4] Unable to start, see the Skylight logs for more details

Puma starting in single mode...

* Puma version: 6.6.0 ("Return to Forever")

* Ruby version: ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +YJIT +PRISM [x86_64-linux]

*  Min threads: 3

*  Max threads: 3

*  Environment: production

*          PID: 1

* Listening on http://0.0.0.0:3000

Use Ctrl-C to stop

I, [2025-11-30T13:12:52.504145 #1]  INFO -- : {message: "Started GET \"/\"", event: {http_request_received: {body: nil, content_length: nil, headers_json: "{\"Connection\":\"close\",\"X_Forwarded_For\":\"192.168.0.105\",\"X_Real_Ip\":\"192.168.0.105\",\"X_Forwarded_Proto\":\"https\",\"X_Forwarded_Host\":\"sure.trash-net.duckdns.org\",\"Host\":\"sure.trash-net.duckdns.org\",\"X_Forwarded_Uri\":\"/\",\"X_Original_Method\":\"GET\",\"X_Forwarded_Method\":\"GET\",\"X_Original_Url\":\"https://sure.trash-net.duckdns.org/\",\"X_Forwarded_Port\":\"443\",\"X_Forwarded_Scheme\":\"https\",\"Cache_Control\":\"max-age=0\",\"Sec_Ch_Ua\":\"\\\"Chromium\\\";v=\\\"142\\\", \\\"Google Chrome\\\";v=\\\"142\\\", \\\"Not_A Brand\\\";v=\\\"99\\\"\",\"Sec_Ch_Ua_Mobile\":\"?0\",\"Sec_Ch_Ua_Platform\":\"\\\"Windows\\\"\",\"Dnt\":\"1\",\"Upgrade_Insecure_Requests\":\"1\",\"User_Agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36\",\"Accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7\",\"Sec_Fetch_Site\":\"same-site\",\"Sec_Fetch_Mode\":\"navigate\",\"Sec_Fetch_User\":\"?1\",\"Sec_Fetch_Dest\":\"document\",\"Accept_Language\":\"en,ru;q=0.9,uk;q=0.8\",\"Sec_Gpc\":\"1\",\"Priority\":\"u=0, i\",\"Cookie\":\"session_token=eyJfcmFpbHMiOnsibWVzc2FnZSI6IklqbGxNRGxpTURkbUxXWm1NRFV0TkdNeVpDMWlOalJpTFROaU5tRmxZbUk0WVRrMVlpST0iLCJleHAiOiIyMDQ1LTA4LTE2VDEzOjMzOjMyLjE3NloiLCJwdXIiOiJjb29raWUuc2Vzc2lvbl90b2tlbiJ9fQ%3D%3D--b0198ef8764a849f5166a15ddc68cd8c80a87f3d; _sure_session=A5pMyVY3YmWbWIh62DKXDSvILA%2FWSN5P1KIUugH%2BmCT6XCDzuJyWy4q4uHCxSxFg%2FZHaHe8rM%2BfUwrh39QBavrgxPewzk9e%2BsYNBn32BZKlCMsDvq%2B9oatkSvl2gYIsV8VROmmuP02M7sTNsKAynlvngzsQlCYyWknbOKQ9YEQfN2ZBlmztigGFaPEFrQjW%2FIPDDG1qh7qyCxcB3hb41aQArSgDBgBW2WG3TAmRNV14rvnzh66VTLc3A8e5gOQWiqyFDYja2SIVfK%2BsFn9jfoxRsorEOspAwOaXXmKPOXmtejDZmP7DD0Wo%3D--A%2BeIFj4GooyF2fnq--li8x4wuUhqG0gX6OSnSHPA%3D%3D\",\"Version\":\"HTTP/1.1\"}", host: "sure.trash-net.duckdns.org", method: "GET", path: "/", port: 443, query_string: "", request_id: "3f4e5d2c-0911-4d5c-b0ab-3476080ac6f9", scheme: "https", service_name: nil}}}

I, [2025-11-30T13:12:52.508403 #1]  INFO -- : Processing by PagesController#dashboard as HTML

F, [2025-11-30T13:12:52.644874 #1] FATAL -- : ArgumentError (Invalid Timezone: Europe/Kiev)

I, [2025-11-30T13:13:12.549632 #1]  INFO -- : {message: "Started GET \"/\"", event: {http_request_received: {body: nil, content_length: nil, headers_json: "{\"Connection\":\"close\",\"X_Forwarded_For\":\"192.168.0.105\",\"X_Real_Ip\":\"192.168.0.105\",\"X_Forwarded_Proto\":\"https\",\"X_Forwarded_Host\":\"sure.trash-net.duckdns.org\",\"Host\":\"sure.trash-net.duckdns.org\",\"X_Forwarded_Uri\":\"/\",\"X_Original_Method\":\"GET\",\"X_Forwarded_Method\":\"GET\",\"X_Original_Url\":\"https://sure.trash-net.duckdns.org/\",\"X_Forwarded_Port\":\"443\",\"X_Forwarded_Scheme\":\"https\",\"Sec_Ch_Ua\":\"\\\"Chromium\\\";v=\\\"142\\\", \\\"Google Chrome\\\";v=\\\"142\\\", \\\"Not_A Brand\\\";v=\\\"99\\\"\",\"Sec_Ch_Ua_Mobile\":\"?0\",\"Sec_Ch_Ua_Platform\":\"\\\"Windows\\\"\",\"Dnt\":\"1\",\"Upgrade_Insecure_Requests\":\"1\",\"User_Agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36\",\"Accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7\",\"Sec_Fetch_Site\":\"same-site\",\"Sec_Fetch_Mode\":\"navigate\",\"Sec_Fetch_User\":\"?1\",\"Sec_Fetch_Dest\":\"document\",\"Accept_Language\":\"en,ru;q=0.9,uk;q=0.8\",\"Sec_Gpc\":\"1\",\"Priority\":\"u=0, i\",\"Cookie\":\"session_token=eyJfcmFpbHMiOnsibWVzc2FnZSI6IklqbGxNRGxpTURkbUxXWm1NRFV0TkdNeVpDMWlOalJpTFROaU5tRmxZbUk0WVRrMVlpST0iLCJleHAiOiIyMDQ1LTA4LTE2VDEzOjMzOjMyLjE3NloiLCJwdXIiOiJjb29raWUuc2Vzc2lvbl90b2tlbiJ9fQ%3D%3D--b0198ef8764a849f5166a15ddc68cd8c80a87f3d; _sure_session=A5pMyVY3YmWbWIh62DKXDSvILA%2FWSN5P1KIUugH%2BmCT6XCDzuJyWy4q4uHCxSxFg%2FZHaHe8rM%2BfUwrh39QBavrgxPewzk9e%2BsYNBn32BZKlCMsDvq%2B9oatkSvl2gYIsV8VROmmuP02M7sTNsKAynlvngzsQlCYyWknbOKQ9YEQfN2ZBlmztigGFaPEFrQjW%2FIPDDG1qh7qyCxcB3hb41aQArSgDBgBW2WG3TAmRNV14rvnzh66VTLc3A8e5gOQWiqyFDYja2SIVfK%2BsFn9jfoxRsorEOspAwOaXXmKPOXmtejDZmP7DD0Wo%3D--A%2BeIFj4GooyF2fnq--li8x4wuUhqG0gX6OSnSHPA%3D%3D\",\"Version\":\"HTTP/1.1\"}", host: "sure.trash-net.duckdns.org", method: "GET", path: "/", port: 443, query_string: "", request_id: "756dcadd-bb0f-417f-8ef8-a5759bf9573e", scheme: "https", service_name: nil}}}

I, [2025-11-30T13:13:12.564600 #1]  INFO -- : Processing by PagesController#dashboard as HTML

F, [2025-11-30T13:13:12.596973 #1] FATAL -- : ArgumentError (Invalid Timezone: Europe/Kiev)

To Reproduce

Steps to reproduce the behavior:

  1. Pull v0.6.5 image
  2. Start the service
  3. Check logs for F, [2025-11-30T13:13:12.596973 #1] FATAL -- : ArgumentError (Invalid Timezone: Europe/Kiev)
  4. If loads as expected, change TZ in UI to Europe/Kiev and restard the container
  5. Check for the error

Expected behavior

Containers starts and works as expected. Any timezone shouldn`t be causing fatal error especialy if it was set via UI

Screenshots and/or recordings

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions