Giter Club home page Giter Club logo

Comments (8)

vknabel avatar vknabel commented on September 27, 2024 2

Yes, charm v0.9.1 and skate v0.1.1 fixed my issue. Thanks a lot to you all. You do a fast and great job!

from charm.

meowgorithm avatar meowgorithm commented on September 27, 2024 1

Small note per the above: if you do need to wipe data for testing purposes, I'd suggest wiping only the stuff for localhost:

# Linux
rm -rf ~/.local/share/charm/localhost

# macOS
rm -rf ~/Library/Application\ Support/charm/localhost

from charm.

toby avatar toby commented on September 27, 2024 1

Ok this should be fixed in charm v0.9.1 and skate v0.1.1. Let me know if it's still breaking or you have any issues!

from charm.

toby avatar toby commented on September 27, 2024 1

Awesome, glad to hear it!

from charm.

aymanbagabas avatar aymanbagabas commented on September 27, 2024

Hi @vknabel, thank you for this! Would you mind trying this docker-compose instead:

---
version: "3.1"
services:
  soft-serve:
    image: charmcli/charm:v0.9.0
    container_name: charm
    volumes:
      - ./data:/data
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 35353:35353
      - 35354:35354
      - 35355:35355
      - 35356:35356
    restart: unless-stopped

The issue seems to be a difference in timezones. You might need to rm -rf ./data "~/Library/Application Support/charm/" before testing this.

from charm.

vknabel avatar vknabel commented on September 27, 2024

Thanks for the fast response @aymanbagabas and @meowgorithm!
Good point for just removing localhost. In my specific case no big deal, but important for other readers!

Adding the volume /etc/localtime:/etc/localtime:ro on...

  • the localhost-Mac solved the problem 👍
  • my Linux server with UTC0 did not solve the issue 😓
  • my Linux server after changing the timezone to match the one of my Mac did the trick, too 👍

I'd be happy to gather more information if you need. Also I know enough Go to compile and test potential fixes, but haven't done anything with Go and timezones yet.

from charm.

vknabel avatar vknabel commented on September 27, 2024

Just saw #30 and tried it (answering here to keep all info in one issue)

When I set the timezone using -e TZ=x

  • to my client's time Europe/Berlin, it works
  • to America/New_York, it does not work
  • to Etc/UTC, it does not work

from charm.

toby avatar toby commented on September 27, 2024

I think I've fixed this here: #31

Just going to do a bit of testing.

from charm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.