Comments (11)
Hmm interesting. Is this the first time you're using gonic? And could you also post the full gonic logs please? (Just for line numbers etc)
from gonic.
That's all the log says in Portainer, repeatedly.
I'm unable to connect to the console in Portainer because the container is constantly restarting.
I've used Gonic just fine before, but decided to start a new one, so there is no old database.
I did try restoring my old database file just to try with no change.
from gonic.
Could it be a permissions issue on your host perhaps? And port may need to be ":8080:" instead of "8080"
from gonic.
ls -la /sharedfolders/DOCKER_CONFIG/GONIC_Music/
total 8
drwxrwsrwx 2 root users 4096 Mar 13 02:12 .
drwxrwsrwx 19 root users 4096 Mar 13 02:12 ..
Doesn't look like it to me.
from gonic.
can you try change the list addr env var to ":8080" instead? i dont think gonic will start with just "8080"
from gonic.
I've tried both:
https://i.imgur.com/qHI0p8u.png
from gonic.
hmm okay. could you try get the logs from docker instead of portainer? docker logs --tail 200 -f <gonic_id>
should show everything, even if it's restarting
from gonic.
That gives the same output:
2020/03/13 21:21:02 error opening database: with gorm: unable to open database file
from gonic.
ohh! i think i see it now. try change GONIC_DB_PATH
to /data/gonic.db
these are the defaults defined in the dockerfile:
ENV GONIC_DB_PATH /data/gonic.db
ENV GONIC_LISTEN_ADDR :80
ENV GONIC_MUSIC_PATH /music
ENV GONIC_CACHE_PATH /cache
so it looks like gonic was trying to open a directory as a db
from gonic.
from gonic.
cool :) please reopen if there's anything else
from gonic.
Related Issues (20)
- feat: try all tracks in dir for album metadata instead of first
- Transcoding seemingly does nothing HOT 3
- CreatePlaylist api response sends blank/empty playlist ID
- Intelligent track change detection in scanner to preserve primary keys HOT 2
- Empty "Unknown Album" HOT 8
- taglib v2 downstream HOT 6
- feature: Include genre and album's date/year in listenbrainz scrobble payload HOT 3
- feat: use `originalReleaseDate` and set `year` to edition year HOT 4
- Last.fm Artist Lookup not sanitizing special characters in Artist's names HOT 4
- Genre split and podcast download issue HOT 12
- Search Album by Name doesn't fetch all results HOT 1
- feat: Add support for Artist Sort Name HOT 1
- Scan HOT 13
- symbol lookup error HOT 7
- query optimisations for massive libraries HOT 29
- Extremely high memory usage when running an incremental scan on 200k+ files HOT 5
- Can't play Web Radio in Jukebox mode: error creating playlist items: find track by id: not found HOT 4
- feat: stream timeOffset when not trancoding HOT 8
- Libraries without folder album art won't get any cover art HOT 1
- DSub can't play song when bitrate is set to "unlimited" HOT 4
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 gonic.