Comments (7)
hi! thanks for the report. may I ask what your $ go version
is?
from gonic.
My go version is go1.10.4 linux/amd64. Should I install a newer Version from the go PPA?
from gonic.
ah okay. as of a few days ago, we added subsonic jukebox support which requires a more recent go version. however, if you don't fancy upgrating or use jukebox mode, you can install the most recent gonic without jukebox:
cd $(mktemp -d); go mod init tmp; go get go.senan.xyz/gonic/cmd/[email protected]
in the meantime, we'll be working on making gonic "go getable" for older versions of go
from gonic.
also please do let me know if it works for you
from gonic.
I installed version 1.14.2, now it runs. For this I had to add the following PPA:
sudo add-apt-repository ppa:longsleep/golang-backports
I also configured systemd so that it now runs as a service in the background. For this I moved $HOME/go to /var/gonic/ and created the following /etc/systemd/system/gonic.service:
[Unit]
Description=Gonic service
ConditionPathExists=/var/gonic/bin/gonic
After=network.target
[Service]
Type=simple
User=gonic
Group=gonic
LimitNOFILE=1024
Restart=on-failure
RestartSec=10
startLimitIntervalSec=60
WorkingDirectory=/var/gonic/
ExecStart=/var/gonic/bin/gonic -music-path /mnt/storage/media/Music/ -listen-addr 127.0.0.1:4747 --proxy-prefix /gonic -db-path /var/gonic/gonic.db -config-path /var/gonic/.config
# make sure log directory exists and owned by syslog
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/log/gonic
ExecStartPre=/bin/chown syslog:adm /var/log/gonic
ExecStartPre=/bin/chmod 755 /var/log/gonic
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=sleepservice
[Install]
WantedBy=multi-user.target
from gonic.
thanks for the update and the script :) i might add it to a wiki in future if you're ok with it
from gonic.
I'm writing the instructions, coming up in the next few days
from gonic.
Related Issues (20)
- transcoding profiles dropdown order is random
- What is the purpose of internet_radio_stations configuration information? HOT 5
- Compilation errors on FreeBSD HOT 1
- [FreeBSD] compilation error `stat.Ctim undefined (type *syscall.Stat_t has no field or method Ctim)` HOT 3
- FLAC compression 8 - error could not read tag HOT 1
- importing m3u playlists with http links HOT 1
- Multiple artists on a tag HOT 1
- Most of my music embedded tags are in Chinese HOT 4
- About the files stored in the /covers directory HOT 5
- Support for non-numeric tracknumbers tags HOT 1
- Support track artists in getArtist & getArtistInfo2 HOT 1
- REQ: Server-side playlist import? HOT 24
- List of not supported files on path HOT 8
- getBookmarks API should return single entry for each bookmark, not an array HOT 2
- [Feature Request] Turn off artist art HOT 1
- Help on TCP SEW Dump HOT 3
- Forgotten Password HOT 1
- Feature request: Support for wav files (at least for directory browsing) HOT 3
- [Feature] m-TAGS support
- Bookmark should return a denormalized entry
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.