hernandito Posted June 17, 2015 Share Posted June 17, 2015 Hi Guys, I am happy to introduce a Docker for ResourceSpace. RS is a Digital Asset Managemet open source software that runs on php and mysql. Template is in my repository: https://github.com/hernandito/docker-templates Here is the Description from their web site http://www.resourcespace.org/: ResourceSpace open source digital asset management software is the simple, fast, & free way to organize your digital assets. Video: http://www.resourcespace.org/video/intro.mp4 Important: You must have a separate MySQL Docker or server. In this server, you MUST first create a database called "resourcespace". Once you install the ResourceSpace docker, you will need to point to the location of this database. I use this with the MariaDB Docker from needo. I am NOT an expert at using ResourceSpace. I just recently read about it and wanted to try it out. Being that they make their money from consulting with installation and configuration, I am not anticipating a big support community. But I may be wrong. I have installed this in my cache drive, and images and anything that gets added to the DAM looks like it resides in the cache drive. I am not experienced enough to configure moving only the asset folder to the unRAID array. Hopefully someone smarter than me can help with this. Mr. Squid, I added the info you want to the template using your Docker Categorizer plugin. Good Luck! Thanks, H. Link to comment
Squid Posted June 17, 2015 Share Posted June 17, 2015 I saw it... And Mr. Squid would be referring to my father... (although I'm not quite sure how he would like that) Link to comment
CHBMB Posted June 17, 2015 Share Posted June 17, 2015 I saw it... And Mr. Squid would be referring to my father... (although I'm not quite sure how he would like that) Spelled my name wrong lol. I'm not even sure why you keep crediting me with stuff? All I did was modify smdions container to add some php stuff and told you about adminer.. Link to comment
smdion Posted June 17, 2015 Share Posted June 17, 2015 I saw it... And Mr. Squid would be referring to my father... (although I'm not quite sure how he would like that) Spelled my name wrong lol. I'm not even sure why you keep crediting me with stuff? All I did was modify smdions container to add some php stuff and told you about adminer.. Also.. who is smbion Link to comment
hernandito Posted June 17, 2015 Author Share Posted June 17, 2015 friggin' miracle I can get anything done with all them typos. Link to comment
CHBMB Posted June 17, 2015 Share Posted June 17, 2015 I saw it... And Mr. Squid would be referring to my father... (although I'm not quite sure how he would like that) Spelled my name wrong lol. I'm not even sure why you keep crediting me with stuff? All I did was modify smdions container to add some php stuff and told you about adminer.. Also.. who is smbion Brilliant!! ;D Link to comment
MrLondon Posted June 17, 2015 Share Posted June 17, 2015 after installation and opening the webpage I see the following errors Installation check PHP version: 5.5.9-1ubuntu4.9 (OK) PHP config: '/etc/php5/apache2/php.ini' GD version: 2.1.1-dev (OK) PHP.INI value for 'memory_limit': 200M (OK) PHP.INI value for 'post_max_size': 100M (OK) PHP.INI value for 'upload_max_filesize': 100M (OK) Write access to config directory: (FAIL: '/include' not writable. Only required during setup.) Write access to storage directory: (WARNING: /web/resourcespace/pages/../filestore not writable Override location in 'Advanced Settings'.) here is the setup from ssh root@Tower:/mnt/cache/appdata/resourcespace# ls -la total 0 drwxrwxrwx 1 root root 26 Jun 17 22:11 ./ drwxr-xr-x 1 nobody users 258 Jun 17 22:11 ../ drwxrwxrwx 1 root root 34 Jun 17 22:15 config/ drwxrwxrwx 1 root root 84 Jun 17 22:15 logs/ drwxrwxrwx 1 root root 26 Jun 17 22:15 www/ from the docker log file *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... *** Running /etc/my_init.d/firstrun.sh... Creating config from template. Copying ResourceSpace into Web folder. *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 11 Setting up watches. Watches established. Jun 17 22:15:23 876aaea429f6 syslog-ng[21]: syslog-ng starting up; version='3.5.3' Jun 17 22:17:01 876aaea429f6 /USR/SBIN/CRON[38]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) root@Tower:/mnt/cache/appdata/resourcespace/logs# ls -ltr total 12 -rw-r--r-- 1 root root 0 Jun 17 22:15 other_vhosts_access.log -rw-r--r-- 1 root root 250 Jun 17 22:15 error.log -rw-r--r-- 1 root root 4555 Jun 17 22:19 access.log root@Tower:/mnt/cache/appdata/resourcespace/logs# cat error.log [Wed Jun 17 22:15:23.257988 2015] [mpm_prefork:notice] [pid 18] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations [Wed Jun 17 22:15:23.258053 2015] [core:notice] [pid 18] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND' root@Tower:/mnt/cache/appdata/resourcespace/logs# cat access.log 192.168.0.14 - - [17/Jun/2015:22:16:34 +0100] "GET / HTTP/1.1" 302 398 "http://tower/Docker" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:16:34 +0100] "GET /pages/setup.php HTTP/1.1" 200 6526 "http://tower/Docker" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:16:34 +0100] "GET /css/global.css?csr=5 HTTP/1.1" 200 9849 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:16:34 +0100] "GET /css/Col-multi.css HTTP/1.1" 200 3178 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:16:34 +0100] "GET /lib/js/jquery-1.7.2.min.js HTTP/1.1" 200 33975 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:16:34 +0100] "GET /gfx/titles/title.png HTTP/1.1" 200 9420 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:16:34 +0100] "GET /gfx/ajax-loader.gif HTTP/1.1" 200 2022 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:16:34 +0100] "GET /gfx/whitegry/interface/CollectBack.gif HTTP/1.1" 200 1133 "http://192.168.0.24:8112/css/global.css?csr=5" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:16:35 +0100] "GET /favicon.ico HTTP/1.1" 404 425 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:16:35 +0100] "GET /pages/dbtest.php?mysqlserver=localhost&mysqlusername=root&mysqlpassword=&mysqldb=resourcespace HTTP/1.1" 200 194 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:19:25 +0100] "GET /pages/setup.php HTTP/1.1" 200 6523 "http://tower/Docker" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:19:25 +0100] "GET /gfx/titles/title.png HTTP/1.1" 304 182 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:19:25 +0100] "GET /css/Col-multi.css HTTP/1.1" 200 3179 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:19:25 +0100] "GET /css/global.css?csr=5 HTTP/1.1" 200 9849 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:19:25 +0100] "GET /gfx/ajax-loader.gif HTTP/1.1" 304 180 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:19:25 +0100] "GET /lib/js/jquery-1.7.2.min.js HTTP/1.1" 200 33976 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:19:25 +0100] "GET /gfx/whitegry/interface/CollectBack.gif HTTP/1.1" 304 180 "http://192.168.0.24:8112/css/global.css?csr=5" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" 192.168.0.14 - - [17/Jun/2015:22:19:26 +0100] "GET /pages/dbtest.php?mysqlserver=localhost&mysqlusername=root&mysqlpassword=&mysqldb=resourcespace HTTP/1.1" 200 194 "http://192.168.0.24:8112/pages/setup.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36" root@Tower:/mnt/cache/appdata/resourcespace/logs# cd .. root@Tower:/mnt/cache/appdata/resourcespace# ls -l total 0 drwxrwxrwx 1 root root 34 Jun 17 22:15 config/ drwxrwxrwx 1 root root 84 Jun 17 22:15 logs/ drwxrwxrwx 1 root root 26 Jun 17 22:15 www/ root@Tower:/mnt/cache/appdata/resourcespace# cd www root@Tower:/mnt/cache/appdata/resourcespace/www# ls -ltr total 0 drwxr-xr-x 1 root root 226 Jun 17 19:34 resourcespace/ root@Tower:/mnt/cache/appdata/resourcespace/www# cd resourcespace/ root@Tower:/mnt/cache/appdata/resourcespace/www/resourcespace# ls -ltr total 20 -rw-r--r-- 1 root root 338 Jun 17 19:11 robots.txt drwxr-xr-x 1 root root 1122 Jun 17 19:11 plugins/ drwxr-xr-x 1 root root 2680 Jun 17 19:11 pages/ -rw-r--r-- 1 root root 7490 Jun 17 19:11 login.php -rw-r--r-- 1 root root 76 Jun 17 19:11 license.txt drwxr-xr-x 1 root root 274 Jun 17 19:11 lib/ drwxr-xr-x 1 root root 318 Jun 17 19:11 languages/ -rw-r--r-- 1 root root 2257 Jun 17 19:11 index.php drwxr-xr-x 1 root root 1672 Jun 17 19:11 include/ drwxr-xr-x 1 root root 144 Jun 17 19:11 iccprofiles/ drwxr-xr-x 1 root root 242 Jun 17 19:11 gfx/ drwxr-xr-x 1 root root 82 Jun 17 19:11 documentation/ drwxr-xr-x 1 root root 3494 Jun 17 19:11 dbstruct/ drwxr-xr-x 1 root root 344 Jun 17 19:11 css/ drwxr-xr-x 1 root root 100 Jun 17 19:11 batch/ Link to comment
hernandito Posted June 17, 2015 Author Share Posted June 17, 2015 try this inside the container: chmod -R 777 /web/ If that does not work, perhaps its write permissions in your unRAID appdata folder where you installed the /web folder. do the same command as above but in unraid, pointing to the correct folder. Link to comment
hernandito Posted June 17, 2015 Author Share Posted June 17, 2015 I like using Midnight Commander and pull down menu for CHMOD when highlighting the folder, and there you set all the permissions, again both inside the container and outside. Link to comment
MrLondon Posted June 17, 2015 Share Posted June 17, 2015 try this inside the container: chmod -R 777 /web/ If that does not work, perhaps its write permissions in your unRAID appdata folder where you installed the /web folder. do the same command as above but in unraid, pointing to the correct folder. I have the 777 permission on the exposed folders under appdata but where do I find the web folder inside the docker container? or do I need to use docker exec for that? Link to comment
hernandito Posted June 18, 2015 Author Share Posted June 18, 2015 I use this script to join dockers http://lime-technology.com/forum/index.php?topic=39810.msg377140#msg377140 Link to comment
CHBMB Posted June 25, 2015 Share Posted June 25, 2015 try this inside the container: chmod -R 777 /web/ If that does not work, perhaps its write permissions in your unRAID appdata folder where you installed the /web folder. do the same command as above but in unraid, pointing to the correct folder. That worked for me. Best way to do it is to open a putty or other telnet prompt cd /boot wget https://raw.githubusercontent.com/Data-Monkey/unRAID/master/tools/DockerSelector.sh chmod +x DockerSelector.sh DockerSelector.sh Select resourcespace, then enter chmod -R 777 /web/ Might want to put this in the original post hernandito.. Link to comment
MrLondon Posted June 25, 2015 Share Posted June 25, 2015 the workaround also worked for me. thanks again. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.