dikkiedirk Posted January 9, 2015 Share Posted January 9, 2015 I asked in another post if it is possible to run Asset UPNP in unraid. http://lime-technology.com/forum/index.php?topic=37544.msg347182#msg347182 But can it be dockerized? Any help, hints and tips are welcome. I am useless when it comes to coding it myself though. Link to comment
smdion Posted January 9, 2015 Share Posted January 9, 2015 I asked in another post if it is possible to run Asset UPNP in unraid. http://lime-technology.com/forum/index.php?topic=37544.msg347182#msg347182 But can it be dockerized? Any help, hints and tips are welcome. I am useless when it comes to coding it myself though. Seems like it hsould be able too. Only hitch may be the order specific download link. Link to comment
dikkiedirk Posted January 10, 2015 Author Share Posted January 10, 2015 I asked in another post if it is possible to run Asset UPNP in unraid. http://lime-technology.com/forum/index.php?topic=37544.msg347182#msg347182 But can it be dockerized? Any help, hints and tips are welcome. I am useless when it comes to coding it myself though. Seems like it hsould be able too. Only hitch may be the order specific download link. How do you mean? Link to comment
sparklyballs Posted January 10, 2015 Share Posted January 10, 2015 I asked in another post if it is possible to run Asset UPNP in unraid. http://lime-technology.com/forum/index.php?topic=37544.msg347182#msg347182 But can it be dockerized? Any help, hints and tips are welcome. I am useless when it comes to coding it myself though. it's a 30 day trial version unless you pay. Link to comment
dikkiedirk Posted January 10, 2015 Author Share Posted January 10, 2015 I asked in another post if it is possible to run Asset UPNP in unraid. http://lime-technology.com/forum/index.php?topic=37544.msg347182#msg347182 But can it be dockerized? Any help, hints and tips are welcome. I am useless when it comes to coding it myself though. it's a 30 day trial version unless you pay. Look further down. you also can get the premium registered version if you want. But the Windows version keeps working after 30 days. I already have a license though. Link to comment
sparklyballs Posted January 10, 2015 Share Posted January 10, 2015 I asked in another post if it is possible to run Asset UPNP in unraid. http://lime-technology.com/forum/index.php?topic=37544.msg347182#msg347182 But can it be dockerized? Any help, hints and tips are welcome. I am useless when it comes to coding it myself though. it's a 30 day trial version unless you pay. Look further down. you also can get the premium registered version if you want. But the Windows version keeps working after 30 days. I already have a license though. i knocked up a "working" docker earlier with the 30 day trial version , i'm not really certain what it's about so haven't really tested it out as such. Link to comment
dikkiedirk Posted January 12, 2015 Author Share Posted January 12, 2015 I asked in another post if it is possible to run Asset UPNP in unraid. http://lime-technology.com/forum/index.php?topic=37544.msg347182#msg347182 But can it be dockerized? Any help, hints and tips are welcome. I am useless when it comes to coding it myself though. it's a 30 day trial version unless you pay. Look further down. you also can get the premium registered version if you want. But the Windows version keeps working after 30 days. I already have a license though. i knocked up a "working" docker earlier with the 30 day trial version , i'm not really certain what it's about so haven't really tested it out as such. Would you share it? How must it be configured? I need to tell it where my music library is and to convert flac to wav. I really appreciate it. Because I am just starting with dockers it would be nice if you tell me how to set dockers up. Link to comment
sparklyballs Posted January 12, 2015 Share Posted January 12, 2015 I asked in another post if it is possible to run Asset UPNP in unraid. http://lime-technology.com/forum/index.php?topic=37544.msg347182#msg347182 But can it be dockerized? Any help, hints and tips are welcome. I am useless when it comes to coding it myself though. it's a 30 day trial version unless you pay. Look further down. you also can get the premium registered version if you want. But the Windows version keeps working after 30 days. I already have a license though. i knocked up a "working" docker earlier with the 30 day trial version , i'm not really certain what it's about so haven't really tested it out as such. Would you share it? How must it be configured? I need to tell it where my music library is and to convert flac to wav. I really appreciate it. Because I am just starting with dockers it would be nice if you tell me how to set dockers up. i sent you a PM (i think, lol) Link to comment
dikkiedirk Posted January 12, 2015 Author Share Posted January 12, 2015 Yes you did! Thanks a lot. I try it out on my test server as soon as possible if I can. Unfortunately Murphy struck twice: my cache drive developed some errors an hour ago. And off course I have no replacement on hand. But anyway thanks so far. Link to comment
dikkiedirk Posted January 12, 2015 Author Share Posted January 12, 2015 Could you help me setting docker up for the first time. The only thing I have done so far is replacing the cache drive and format it as btrfs. The service still shows as stopped. How should the docker image and default image size and template repositories be set? Link to comment
trurl Posted January 12, 2015 Share Posted January 12, 2015 Could you help me setting docker up for the first time. The only thing I have done so far is replacing the cache drive and format it as btrfs. The service still shows as stopped. How should the docker image and default image size and template repositories be set? See smdion's excellent guide Link to comment
dikkiedirk Posted January 12, 2015 Author Share Posted January 12, 2015 Thanks, while that is aterrific guide, I rather not add a repositorie right now, but just a raw docker file. Can this be added in the same way or are more steps needed? I probably oversee many things and want to too fast. I just need a very basic beginner's guide. Link to comment
sparklyballs Posted January 12, 2015 Share Posted January 12, 2015 Thanks, while that is aterrific guide, I rather not add a repositorie right now, but just a raw docker file. Can this be added in the same way or are more steps needed? I probably oversee many things and want to too fast. I just need a very basic beginner's guide. i sent that docker as a raw dockerfile because specifically this app has a paid version that requires your order number in the wget pull. obviously i can't build a normal dockerhub based docker on that basis as your order number would be out there for the world to pirate etc.... to build, take the raw file and make a file called Dockerfile (the cap D is important, with no extension either, use nano on the unraid box itself)... then making sure you are in the same folder as the dockerfile, run this to build... docker build --rm=true -t sparklyballs/asset-upnp . the . at the end of the code above is required. Link to comment
dikkiedirk Posted January 13, 2015 Author Share Posted January 13, 2015 Thanks, while that is aterrific guide, I rather not add a repositorie right now, but just a raw docker file. Can this be added in the same way or are more steps needed? I probably oversee many things and want to too fast. I just need a very basic beginner's guide. i sent that docker as a raw dockerfile because specifically this app has a paid version that requires your order number in the wget pull. obviously i can't build a normal dockerhub based docker on that basis as your order number would be out there for the world to pirate etc.... to build, take the raw file and make a file called Dockerfile (the cap D is important, with no extension either, use nano on the unraid box itself)... then making sure you are in the same folder as the dockerfile, run this to build... docker build --rm=true -t sparklyballs/asset-upnp . the . at the end of the code above is required. after building both sparklyballs/asset-upnp and phusion/baseimage appear under docker images on the docker page in unraid..... Can they now run.... or must they be added to a container? I saw a file being downloaded from dbpoweramp. Again I I want to go too fast I fear. Have to take small steps to get a better understanding of how it works. I hope I will have a running Asset UPNP server on unraid soon. Gonna call it a day now, getting late over 01:10 AM here in Holland. Thanks so far. Link to comment
dikkiedirk Posted January 13, 2015 Author Share Posted January 13, 2015 Just for fun I tried to run the newly build image but asset runs at a totally wrong ip-address: docker run -t -i sparklyballs/asset-upnp /bin/bash Asset UPnP startup... Version: R4.3 Functionality: Trial 30 Days Remaining Supported formats: .opus .wv .aif .aiff .aifc .mpc .mpp .mp+ .ogg .oga .m4a .mp4 .m4b .aac .mp3 .mp2 .m2a .mpga .mpa .mpx .mpg .mp1 .mpeg .flac .fla .wav .bwf .w64 Starting Asset web interface at http://172.17.0.4:45537 Detected IP address: 172.17.0.4 Where does it get that that address from? My home network is at 192.168.10.xxx Link to comment
dikkiedirk Posted January 13, 2015 Author Share Posted January 13, 2015 I am completely stuck at the moment. Been reading a lot about host and bridge and general networking in docker but its a bit above my capabilities. And the fact that it is all written in English doesn't help. But I cant blame you all for that. After building the image it looked promising but I think I did something wrong after that. I have the image showing up on the docker page in unraid but every time I try to edit a setting ie network from bridge to host I get a command failed error probably because docker daemon cant find it. Link to comment
sparklyballs Posted January 13, 2015 Share Posted January 13, 2015 I am completely stuck at the moment. Been reading a lot about host and bridge and general networking in docker but its a bit above my capabilities. And the fact that it is all written in English doesn't help. But I cant blame you all for that. After building the image it looked promising but I think I did something wrong after that. I have the image showing up on the docker page in unraid but every time I try to edit a setting ie network from bridge to host I get a command failed error probably because docker daemon cant find it. From the unraid command line (not inside the docker itself) run docker ps this gives you a list of containers currently running. if this particular container is running run docker stop sparklyballs/asset-upnp if it isn't running, that's good but run docker ps -a to make sure it's currently built and still available. then go to the docker page in the unraid webui and add it using the following substituting your paths in the host path sides to where you want to save your config files and where your music is stored. and making note of the tcp and udp settings for the following click apply, then you can find the asset webui at <your unraid ip>:45537 Link to comment
dikkiedirk Posted January 13, 2015 Author Share Posted January 13, 2015 It isn't running and not available anymore. Should I run it again like I did earlier? Or is there another way to make it available. Thanks a lot BTW. Link to comment
sparklyballs Posted January 13, 2015 Share Posted January 13, 2015 It isn't running and not available anymore. Should I run it again like I did earlier? Or is there another way to make it available. Thanks a lot BTW. run docker ps -a and post the output here. Link to comment
dikkiedirk Posted January 13, 2015 Author Share Posted January 13, 2015 root@Hal-1:~# docker run -t -i sparklyballs/asset-upnp /bin/bash Asset UPnP startup... Version: R4.3 Functionality: Trial 30 Days Remaining Supported formats: .opus .wv .aif .aiff .aifc .mpc .mpp .mp+ .ogg .oga .m4a .mp4 .m4b .aac .mp3 .mp2 .m2a .mpga .mpa .mpx .mpg .mp1 .mpeg .flac .fla .wav .bwf .w64 Detected IP address: 172.17.0.2 Starting Asset web interface at http://172.17.0.2:45537 ^CStopping UPnP service. Asset UPnP terminating. root@Hal-1:~# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 596e778b566b sparklyballs/asset-upnp:latest "/usr/bin/asset/bin/ About a minute ago Exited (0) 16 seconds ago drunk_brattain Link to comment
sparklyballs Posted January 13, 2015 Share Posted January 13, 2015 root@Hal-1:~# docker run -t -i sparklyballs/asset-upnp /bin/bash Asset UPnP startup... Version: R4.3 Functionality: Trial 30 Days Remaining Supported formats: .opus .wv .aif .aiff .aifc .mpc .mpp .mp+ .ogg .oga .m4a .mp4 .m4b .aac .mp3 .mp2 .m2a .mpga .mpa .mpx .mpg .mp1 .mpeg .flac .fla .wav .bwf .w64 Detected IP address: 172.17.0.2 Starting Asset web interface at http://172.17.0.2:45537 ^CStopping UPnP service. Asset UPnP terminating. root@Hal-1:~# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 596e778b566b sparklyballs/asset-upnp:latest "/usr/bin/asset/bin/ About a minute ago Exited (0) 16 seconds ago drunk_brattain ok, don't run it again from the command line again and go to the unraid webui and follow the info up there about adding in asset. Link to comment
dikkiedirk Posted January 13, 2015 Author Share Posted January 13, 2015 What is the hostpath /mnt/cache/Conig/asset? Does Asset use this for configuration and database and is empty now? Link to comment
sparklyballs Posted January 13, 2015 Share Posted January 13, 2015 What is the hostpath /mnt/cache/Conig/asset? Does Asset use this for configuration and database and is empty now? change that to a local folder on your unraid where you want to store config files. Link to comment
dikkiedirk Posted January 13, 2015 Author Share Posted January 13, 2015 Pulling image: sparklyballs/upnp STATUS: Pulling repository sparklyballs/upnp TOTAL DATA PULLED: 0 MB Iget an error: Command:root@localhost:# /usr/bin/docker run -d --name="Asset-UPnP" --net="bridge" -e TZ="Europe/Berlin" -p 1900:1900/udp -p 26125:26125/tcp -p 45537:45537/tcp -v "/mnt/cache/Config/asset":"/root/dBpoweramp":rw -v "/mnt/user/Music1/":"/music":rw sparklyballs/upnp Unable to find image 'sparklyballs/upnp' locally Pulling repository sparklyballs/upnp 2015/01/13 17:00:03 Error: image sparklyballs/upnp not found The command failed. Probably a typo on my account. Once again going too fast. Forgot Asset somewhere I think. Link to comment
dikkiedirk Posted January 13, 2015 Author Share Posted January 13, 2015 Finally: Command:root@localhost:# /usr/bin/docker run -d --name="Asset-UPnP" --net="bridge" -e TZ="Europe/Berlin" -p 45537:45537/tcp -p 26125:26125/tcp -p 1900:1900/udp -v "/mnt/cache/Config/asset/":"/root/dBpoweramp":rw -v "/mnt/user/Music1/":"/music":rw sparklyballs/asset-upnp 5c721629ad9ed3a8a06a2bd56a3b544fee0c652872a6fe096d93b570ff0c7fc3 The command finished successfully! Does it look ok? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.