mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[GH-ISSUE #64] Connection refused #47
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @psagat on GitHub (Dec 15, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/64
Would like to try your software but can't seem to get past the connection refused.
apache2 2442 root 4u IPv6 20261 0t0 TCP *:80 (LISTEN)
apache2 2445 www-data 4u IPv6 20261 0t0 TCP *:80 (LISTEN)
apache2 2446 www-data 4u IPv6 20261 0t0 TCP *:80 (LISTEN)
apache2 2447 www-data 4u IPv6 20261 0t0 TCP *:80 (LISTEN)
apache2 2448 www-data 4u IPv6 20261 0t0 TCP *:80 (LISTEN)
apache2 2449 www-data 4u IPv6 20261 0t0 TCP *:80 (LISTEN)
php5 2521 root 6u IPv4 20355 0t0 TCP 127.0.0.1:8000 (LISTEN)
Do I need to do something with apace? I attempted the install using a ubuntu 15 server lamp stack.
@psagat commented on GitHub (Dec 15, 2015):
Also. Your install instructions are not that verbose. Do I need to do anything on a fresh box other than these? I have a base mysql database with homestead created as the database, as well as apache and can access the index.html. Does it matter where I drop koel folder?
git clone https://github.com/phanan/koel && cd koel
npm install
composer install
vi .env # Fill in database info and initial admin account
php artisan init
php artisan serve
@phanan commented on GitHub (Dec 16, 2015):
Koel isn't different than any other PHP websites – if you can get them up and running, you can get Koel.
I'd say you drop koel's content where the index.html is, i.e. index.html and index.php should be at the same level.
@psagat commented on GitHub (Dec 16, 2015):
Yea not really familiar with web dev, system engineer myself. So laravel and bower etc are foreign to me.
Do you have a more detailed guide on standing up a fresh LAMP stack and getting your app to work? As of right now, I can access the login page, but when I hit submit I just get this back:
The requested URL /login was not found on this server.
@phanan commented on GitHub (Dec 16, 2015):
Unfortunately not, and I don't think it's in Koel's scope either.
I'm blind guessing here, but looks like you need to enable
mod_rewrite.@phanan commented on GitHub (Dec 16, 2015):
I'm going to close this issue to clean up the list. Feel free to continue discussing here though.
@psagat commented on GitHub (Dec 16, 2015):
I guess what I am asking then, is that I have the lamp stack setup. But the wiki instructions arent very clear on certain steps:
When you say:
cd PUBLIC_DIR
Do you mean put the koel dir inside a public site for apache etc?
And
bower install and gulp should have been executed post-installation
If for some reason they haven't, just manually execute them
bower install && gulp --production
How do we know if bower or gulp ran?
Do we run
/var/www/koel/node_modules/bower/bin and gulp.js ?
@psagat commented on GitHub (Dec 16, 2015):
And it looks like
php5 2521 root 6u IPv4 20355 0t0 TCP 127.0.0.1:8000 (LISTEN)
I can wget and I get back a response so it appears to be only binding on the loop back which means I cant access it outside the box. How do we have it bind to something other than the loopback?
@psagat commented on GitHub (Dec 16, 2015):
Alright.
I manually ran:
/usr/bin/php5 -S 192.168.1.46:8000 /var/www/koel/server.php
which allowed me to get the site going. But how do I change it so I can use the php artisan serve to bind on that ip?
@phanan commented on GitHub (Dec 16, 2015):
php artisan serveis only meant for development purpose. For production, you'll need to configure a virtual host for Apache.@phanan commented on GitHub (Dec 16, 2015):
Yes.
By looking at the console 😄
You don't need to, but there's no harm either.