Giter Club home page Giter Club logo

Comments (6)

onekopaka avatar onekopaka commented on June 5, 2024

For the systemd unit, gochan is being started in /, and thus is looking for gochan.json at /gochan.json, /usr/local/etc/gochan/gochcan.json or /etc/gochan/gochan.json. See the source: https://github.com/gochan-org/gochan/blob/master/pkg/config/util.go#L246

You can either add to the systemd unit, under the [Service] section the line WorkingDirectory=/home/gochan/gochan or copy the config to one of the two other paths.

As for the ListenIP, what do you have in your file?

from gochan.

bigbullyist avatar bigbullyist commented on June 5, 2024

I have my server's IP as the ListenIP. Wasn't sure if I should leave it localhost or make it that.

from gochan.

Eggbertx avatar Eggbertx commented on June 5, 2024

In most cases, ListenIP can (and possibly should) be left as 127.0.0.1. Set it to that and let us know if that works.

from gochan.

bigbullyist avatar bigbullyist commented on June 5, 2024

It gives me the exact same "invalid character" error when I have it as 127.0.0.1.

from gochan.

onekopaka avatar onekopaka commented on June 5, 2024

It sounds like there's something else going on in the config file.

Any chance you can share the whole config file? If you upload it here, make sure to remove database passwords, any API keys and the Random Seed.

from gochan.

bigbullyist avatar bigbullyist commented on June 5, 2024

I figured out the issue. I changed the stylesheets section in the .json files and there was a comma at the end I forgot to remove.

from gochan.

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.