Comments (6)
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.
I have my server's IP as the ListenIP. Wasn't sure if I should leave it localhost or make it that.
from gochan.
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.
It gives me the exact same "invalid character" error when I have it as 127.0.0.1.
from gochan.
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.
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)
- Custom top bar board formatting HOT 4
- Create button to logout current user from all of their sessions
- Make session expiration time configurable
- Create a usable mobile interface HOT 2
- Port themes from bunkerchan over to gochan
- Implement wordfilters
- Completely phase out Vagrant to be replaced by Docker HOT 1
- Add a plugin system HOT 2
- Add functionality to allow gochan-migrate to migrate deprecated gochan installs HOT 1
- Make a stable JSON API for /manage calls
- New board HOT 4
- image display HOT 5
- Help with Docker install HOT 3
- Replace gochan-migration with a plugin
- Another execution error (hope this isn't a bother). HOT 7
- Federation support HOT 5
- bridge boards/threads to anonymous telegram imageboard bots HOT 3
- Easier of use HOT 28
- Finish GeoIP support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gochan.