snoopy86 Posted October 23, 2015 Share Posted October 23, 2015 (edited) Supported Dockers Ubuntu XRDP Ubuntu virtual desktop with browser, apps.... username: ubuntu password: PASSWD Logitech Media Server ( LMS ) Logitech media server for music (with airplay, youtube,...). Emoncms Energy monitor FFmpeg A Docker container designed to watch a directory and encode media files. Edited October 25, 2020 by snoopy86 update Quote Link to comment
Squid Posted October 23, 2015 Share Posted October 23, 2015 InstallationNavigate to "Extensions" and then "Docker" in the unRAID webui Click back to "Extensions" menu and then click on the "Add" button Once the image is downloaded you should see it appear in the "Extensions" section under the heading "Docker Apps"[/font] Dockers Wow. You must still be running an early 6.0 Beta. I don't think that the extensions tab has existed for quite a while Quote Link to comment
snoopy86 Posted October 23, 2015 Author Share Posted October 23, 2015 Ups, that is what you get when you rush things. All correct now. Tnx. Quote Link to comment
bradlewa Posted November 8, 2015 Share Posted November 8, 2015 I've installed this docker, which is pretty awesome by the way, but I have a question about keeping changes persistent. From my understanding, and experience, let's say you use apt-get within the ubuntu vm to install a new application. Then you decide to make a change to the docker configuration in unraid (say adding a new port that gets carried through), which results in the base image being reloaded and you lose the changes you made (i.e. the newly installed application). Is there any way around this? One thing that I saw you can do is to map /etc from the ubuntu vm to a directory on the cache drive in unraid. Do you see a downside to this? EDIT: Actually just saw that I can't even start the docker when I do this, so clearly it's not a viable option. Back to the first question - any way to keep something persistently installed? Say apache for example...which installs to /etc/apache2. Quote Link to comment
snoopy86 Posted November 20, 2015 Author Share Posted November 20, 2015 No, the changes after container restart won't exist when you install some new app. Only way to have this is to commit running container after you have installed the app or changed something. Quote Link to comment
ijuarez Posted November 20, 2015 Share Posted November 20, 2015 UBuntu XRDP so is this full install of ubuntu? Quote Link to comment
snoopy86 Posted November 20, 2015 Author Share Posted November 20, 2015 Something like that yes. Quote Link to comment
rjstott Posted November 28, 2015 Share Posted November 28, 2015 I just set up this docker (or at least I think I did), two problems. 1) "Waiting for MySQL to start" is repeating in the log file so startup isn't right (probably 'cos I got the setup wrong) 2) The WEBUI isn't running so no way to get into the package. Anyone got this working and could elaborate on the setup requirement? If I can get this working then I can move on to buy some of the "Openenergymonitor" kit! Thanks Quote Link to comment
snoopy86 Posted November 28, 2015 Author Share Posted November 28, 2015 Have you setup volume and port mappings correctly? Quote Link to comment
rjstott Posted November 28, 2015 Share Posted November 28, 2015 I pointed all the volume mappings to a folder called emon on my cache drive.Below is the list from the Docker page.: /var/lib/phpfina /mnt/cache/apps/Docker/apps/emon/ /var/lib/phptimeseries /mnt/cache/apps/Docker/apps/emon/ /etc/mysql /mnt/cache/apps/Docker/apps/emon/mysql /var/lib/mysql /mnt/cache/apps/Docker/apps/emon/mysql /var/lib/phpfiwa /mnt/cache/apps/Docker/apps/emon/ This is probably hopelessly wrong. Could you let me know what I need or where to find info? Most installs 'probably' aren't like unRaid so being a novice and a User rather than a developer shows my limits! Quote Link to comment
snoopy86 Posted November 28, 2015 Author Share Posted November 28, 2015 Firstly put your mappings in seperate folders. I see that you have some mappings in the same folders... How is your port mapping. Do you maybe have any other docker with mysql running on 3306 port? Quote Link to comment
rjstott Posted November 28, 2015 Share Posted November 28, 2015 Hi thanks but I created the additional folders so each fas its own. The CMS log has changed to look like => Using an existing volume of MySQL Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... I think I did see it start once in the log but now it is a long wait! I don't have sql anywhere else, unless Emby or Plex hide it. The WebUI still doesn't run. The unRaid main log file now has this for Start through to Stop Nov 28 20:09:30 Media autofan: Highest disk temp is 29°C, adjusting fan speed from: OFF (0% @ 0rpm) to: 372 (145% @ 903rpm) Nov 28 20:09:34 Media php: /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker 'start' 'Emoncms' Nov 28 20:09:34 Media kernel: device vethce9f7e9 entered promiscuous mode Nov 28 20:09:34 Media kernel: docker0: port 1(vethce9f7e9) entered forwarding state Nov 28 20:09:34 Media kernel: docker0: port 1(vethce9f7e9) entered forwarding state Nov 28 20:09:34 Media avahi-daemon[21294]: Withdrawing workstation service for vetha0b9f82. Nov 28 20:09:34 Media kernel: docker0: port 1(vethce9f7e9) entered disabled state Nov 28 20:09:34 Media kernel: eth0: renamed from vetha0b9f82 Nov 28 20:09:34 Media kernel: docker0: port 1(vethce9f7e9) entered forwarding state Nov 28 20:09:34 Media kernel: docker0: port 1(vethce9f7e9) entered forwarding state Nov 28 20:09:36 Media ntpd[1424]: Listen normally on 9 docker0 172.17.42.1:123 Nov 28 20:09:36 Media ntpd[1424]: new interface(s) found: waking up resolver Nov 28 20:09:38 Media emhttp: cmd: /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker logs --tail=350 -f Emoncms Nov 28 20:09:49 Media kernel: docker0: port 1(vethce9f7e9) entered forwarding state Nov 28 20:11:39 Media emhttp: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog Nov 28 20:12:21 Media emhttp: cmd: /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker logs --tail=350 -f Emoncms Nov 28 20:12:26 Media emhttp: cmd: /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker logs --tail=350 -f Emoncms Nov 28 20:12:52 Media php: /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker 'stop' 'Emoncms' Nov 28 20:13:02 Media kernel: vetha0b9f82: renamed from eth0 Nov 28 20:13:02 Media kernel: docker0: port 1(vethce9f7e9) entered disabled state Nov 28 20:13:02 Media kernel: docker0: port 1(vethce9f7e9) entered disabled state Nov 28 20:13:02 Media avahi-daemon[21294]: Withdrawing workstation service for vetha0b9f82. Nov 28 20:13:02 Media kernel: device vethce9f7e9 left promiscuous mode Nov 28 20:13:02 Media kernel: docker0: port 1(vethce9f7e9) entered disabled state Nov 28 20:13:02 Media avahi-daemon[21294]: Withdrawing workstation service for vethce9f7e9. Nov 28 20:13:04 Media ntpd[1424]: Deleting interface #9 docker0, 172.17.42.1#123, interface stats: received=0, sent=0, dropped=0, active_time=208 secs Thanks for your help Quote Link to comment
snoopy86 Posted November 28, 2015 Author Share Posted November 28, 2015 Strange. You have set your variable MYSQL_PASSWORD in environment variables right? I would stop the docker. Delete all from this folders you have created and start it as fresh. If this doesn't help i don't have any more ideas. Quote Link to comment
rjstott Posted November 29, 2015 Share Posted November 29, 2015 Hi, All deleted and a fresh start. This is the log: => Installing MySQL ... Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h 5e73e4deab69 password 'new-password' Alternatively you can run: /usr/bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr ; /usr/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd /usr/mysql-test ; perl mysql-test-run.pl Please report any problems at http://bugs.mysql.com/ Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... Waiting for MySQL to start... And of course it goes on this way. Here are the mappings: /var/lib/phpfiwa /mnt/cache/apps/Docker/apps/emon/fiwa/ /var/lib/phpfina /mnt/cache/apps/Docker/apps/emon/fina/ /var/lib/phptimeseries /mnt/cache/apps/Docker/apps/emon/time/ /etc/mysql /mnt/cache/apps/Docker/apps/emon/mysql/ /var/lib/mysql /mnt/cache/apps/Docker/apps/emon/mysqllib/ The environment variable MYSQL_PASSWORD is set to emoncms but yet there is still no GUI. The log implies I should be doing some extra things directly, should I? Quote Link to comment
snoopy86 Posted December 7, 2015 Author Share Posted December 7, 2015 I have it like in the picture below. No extra things needed. Quote Link to comment
al_uk Posted January 11, 2016 Share Posted January 11, 2016 I have the same problem as rjstott. Waiting for MySql to start. Is it a permissions problem? Quote Link to comment
snoopy86 Posted January 14, 2016 Author Share Posted January 14, 2016 Yes i can see it didn't build right. I will put new version in a couple of days. Quote Link to comment
ntr4nce Posted January 14, 2016 Share Posted January 14, 2016 Hi Snoopy, let us know when a new version is available, I want to use my RPi to send the data to my unraid box. Thanks Quote Link to comment
beire Posted February 18, 2016 Share Posted February 18, 2016 Can you make the settings.php available in the data directory? I have quite a few changes made to the settings.php file but unless i'm mistaken it's not accessible and persistent in your docker? Quote Link to comment
snoopy86 Posted March 8, 2016 Author Share Posted March 8, 2016 Folder for emoncms /var/www should be now persistent so you can modify settings.php. I've also created docker for Logitech Media Server because the one from gfjardim hasn't been updated for ages and added Flickr uploader for uploading photos to flickr. You have 1TB for free. Quote Link to comment
JonathanM Posted March 8, 2016 Share Posted March 8, 2016 While you are in the docker authoring mood, would you mind taking a look at rolling an apache docker that could run http://www.directorypass.com/? I've been trying to get that software running on linuxserver's version, but no luck. I can add the cgi-bin support easily enough myself, but the perl script doesn't seem to be able to create files, it fails with a permissions problem. If this doesn't sound like something you want to play with, no worries, I'm just trying to get out of doing the work myself. Quote Link to comment
trurl Posted March 9, 2016 Share Posted March 9, 2016 Folder for emoncms /var/www should be now persistent so you can modify settings.php. I've also created docker for Logitech Media Server because the one from gfjardim hasn't been updated for ages and added Flickr uploader for uploading photos to flickr. You have 1TB for free. Thanks for LMS. Using it now. Not clear how it is different than gfjardim though. I see it has a newer phusion. Is that the only difference? Do you plan on doing more with it? Here is an old request for adding the airplay plugin Quote Link to comment
snoopy86 Posted March 9, 2016 Author Share Posted March 9, 2016 It has the latest LMS nightly build. I will check the airplay plugin. Quote Link to comment
beire Posted March 10, 2016 Share Posted March 10, 2016 Today's emoncms seems to break the dashboard module? The dasboard dropdown menu dissapeared and when i go for the direct link i just get URI not acceptable. No controller 'dashboard'. (view/) Something went wrong? *edit: I forgot this at first, but you might have missed that some parts of emoncms have been separated and should be added manualley since 9.31. See: https://openenergymonitor.org/emon/node/11798 I can confirm that doing a git clone https://github.com/emoncms/dashboard.git in the modules directory solves this. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.