Fork me on GitHub

“A personal music server
for everyone”

Console - Enabling Uploads

Enabling uploads via Sockso's GUI is an easy point-and-click affair, but it's a little more tricky on the server. But just follow these steps and you'll have it up and running in no time.

1) Create Uploads Collection

First you'll need to create a collection where the uploaded files will be stored in. To do this use the coladd command to specify the path to the folder. Then when it's added run collist and make a note of the number that appears to the left of this new folder (this is it's collection ID).

2) Set Properties

You'll then need to set uploads.enabled to yes, and uploads.collectionId to the collection ID of the folder you just added. For example:

propset uploads.enabled yes
propset uploads.collectionId 1

You can also use the uploads.allowAnonymous to control whether or not users need to be logged in to upload files. (this defaults to requiring a login before users can upload)

Comments

  • Tim said:
    its hanging in /tmp/sockso-upload-0.#dat . Permissions on the destination directory don't seem to matter; it just doesn't work. Maybe it did in earlier versions, but its sad this project has had such a lack of developement. It really had potential.
    2014-09-20 03:27:48
  • Kris said:
    My Uploads don't work, too :-(
    After uploading a mp3-file I got the message "Thanks for the track, it's now in the collection!" - the folder has been created correctly, but the file is missing ... it feels like it's uploaded (because it takes some seconds) - but then it's not moved corrctly to it's location - possible still hanging in a cache/temp-folder (where)!?
    2014-05-14 11:41:08
  • pdmit said:
    I cant upload any file by website on my serwer. I have that config:
    NAME VALUE

    app.confirmExit yes
    app.startMinimized no
    collman.scan.interval 5
    collman.scan.onStart yes
    server.basepath /
    server.host <<my_ip>>
    server.host.lastUpdated 1389184177569
    server.port 4444
    uploads.collectionId 1
    uploads.enabled yes
    uploads.requireLogin yes
    users.requireLogin yes
    www.disableDownloads yes
    www.tagline Music Music Music!!!
    www.title music

    Info displays:
    "sockso doesn't support that audio format (only mp3, ogg and wma)".
    I tested ogg and mp3 any files.

    I have a folder structure:
    ID PATH
    ----------
    [1] /home/user/Music/
    [0] /var/www/site/mp3/

    Please help. :-/
    2014-01-08 12:40:40
  • Isaac said:
    I got the answer I needed. Thanks. :)

    P.S. You might want to mention that users need to use the propset command to set the uploads properties.
    2012-05-17 00:25:22

Post Comment

Just enter your name, fill out the easy captcha and enter your comments - it'll appear on the site right away. If you enter your email it will just be linked from your name so people can get in touch with you about your comment, so it's optional.

Sockso Community!

Sockso comes with the ability to be instantly part of the Sockso Community. So install now to to take part!

If you love using Sockso and would like to give a little back, try a donation to help out and support open source development.

Latest News & Releases RSS Icon

12th May

Sockso 1.5.3 - Bug fix release - fixes broken folder browsing and related artists.

29th April

Sockso 1.5.2 - Bug fix for broken local cover art, and updated French translation.

14th March 2012

Sockso 1.5.1 - Bug fixes for path security hole, API access, and encoded pluses. Along with updated Italian translation, adding ability to extract cover art from ID3 tags.

10th December

Sockso 1.5 - Added ability to add arbitrary meta tags, JPlayer support, HTTP Range header support, bug fixes, and finalised API v1.0

25th July

Sockso 1.4.2 - Fix for fetching cover artwork from Amazon.

24th July

Sockso 1.4.1 - Fixes for unicode output issue, and strict JSON API issue with single quotes.

23rd July

Sockso 1.4 - Added a JSON API to support developing applications on top of Sockso.

8th July

Posted screencast of *VERY* early version of new Sockso iPhone app. Feedback appreciated in the forums.

2nd July

Sockso 1.3.5 - Fix for problem on OSX where Sockso would not start, other minor bug fixes for Flac handling.

26th June

Sockso 1.3.4 - New HTML5 Player for iPad/iOS/etc support from nguillaumin, new 'tinygreen' skin from Simplify, and some bug fixes.

4th May

Sockso 1.3.3 - Album years now shown, Turkish translation added, and MP3 tag library updated (all thanks to badZeppelin!), some bug fixes to ajax page loading.

2nd April

Sockso 1.3.2 - Users can now require approval when registering, and updated ajaxified web interface with embedded player now default.

23rd March

Sockso 1.3.1 - Fix for missing 'colscan' command from console, moved optional libraries location (to upgrade rename your optionals folder from 'lib-opt' to 'lib/opt', and a bug fix for invalid URL characters breaking some playlist files.

17th March

Sockso 1.3 - Created ability to add servers to the new Sockso Community, and you can now run behind Apache without needing a VirtualHost (thanks to LightGlitch!)

5th February

Sockso 1.2.7 - Fix for broken javascript in 1.2.6.

30th January 2011

Sockso 1.2.6 (broken) - Fix for selecting the playlist in some browsers, and added new web admin console.

17th December

Sockso 1.2.5 - Minor bug fix for adding items to the playlist when browsing folders.

10th April

Sockso 1.2.4 - Patches from Will to improve HTTP/HTTPS streaming performance, and HTML compliance, improved music tree in GUI to cope with any size collections, hidden files now ignored on indexing, and some other bugs.

8th February

Sockso 1.2.3 - Fixed broken 1.2.2 release.

Linux Logo Windows Logo OSX Logo