Jump to content

gfjardim

Community Developer
  • Posts

    2,213
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by gfjardim

  1. Is this what you mean? It doesn't have cron functionality, but will execute upon mount and unmount.
  2. The NTFS-3G driver is not a stellar performer, but my USB3 Seagate on my USB2 port (Supermicro X9SCM-F) using NTFS gives me 45MB/s.
  3. Thanks a lot guys. Any feedback is invaluable. One question: multi-parted disks should be collapsed in or collapsed out?
  4. I just collapsed the partitions. I've posted a video: The partitions are collapsed into the disk serial; click there and the partition will show. Multi partition disks will not show partition info, and will display a plus icon in the HDD one. If the disk has just one partition, it will show that partition's info.
  5. Liked your idea, so I renamed the plugin. Now it will replace the Unassigned Devices tab. Please remove the old plugin before you install this. https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/plugins/unassigned.devices.plg Removed old plugin. Installed this. Now have a tab for USB Devices and a tab for Unassigned Devices. The Unassigned Devices tab has this error message: Fatal error: Cannot redeclare save_ini_file() (previously declared in /usr/local/emhttp/plugins/gfjardim.usb.automount/include/usb_mount_lib.php:19) in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 30 Please remove this dir: /usr/local/emhttp/plugins/gfjardim.usb.automount/
  6. Liked your idea, so I renamed the plugin. Now it will replace the Unassigned Devices tab. Please remove the old plugin before you install this. https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/plugins/unassigned.devices.plg
  7. Digital Devices Cine v6.5: 03:00.0 Multimedia controller: Digital Devices GmbH Octopus DVB Adapter
  8. Added a container for CrashPlan Desktop GUI. It's based on SparklyBalls desktops and can be reached by RDP at port 3389.
  9. A few updates I made these days: ###2015.04.24a - Fix webGui being hammered with update requests - Fix mounting all disks if no devide was supplied - Set sleep time (15 minutes) to mounted disks ###2015.04.24 - Fix some css quirks ###2015.04.23a - Major revamp, will work with SATA/USB disks. It will presume autostart for USB disks, and not for SATA ones. ###2015.04.13 - Fix: table color with black theme
  10. Updated DropBox and ownCloud, both with invaluable contribution of HurricaneHernandez!
  11. Added port maps (still default to host network since it's an UPnP server) and rename it to Emby. Container got updated too.
  12. Hi, sparklyballs. Could you add support for this? http://lime-technology.com/forum/index.php?topic=39106.msg365627#msg365627 Thanks in advance! Will the overview tag replace the description tag for the community repo plugin ? Yes. The Description tag is still being used for the Docker Manager tho.
  13. Hi, Bungy. Could you add support for this? http://lime-technology.com/forum/index.php?topic=39106.msg365627#msg365627 Thanks in advance!
  14. Hi, pinion. Could you add support for this? http://lime-technology.com/forum/index.php?topic=39106.msg365627#msg365627 Thanks in advance!
  15. Hi, Spants. Could you add support for this? http://lime-technology.com/forum/index.php?topic=39106.msg365627#msg365627 Thanks in advance!
  16. Hi, sparklyballs. Could you add support for this? http://lime-technology.com/forum/index.php?topic=39106.msg365627#msg365627 Thanks in advance!
  17. Here it is, guys, a centralized topic for support to my containers. For specific container support, please go to the appropriate topic: CrashPlan: http://lime-technology.com/forum/index.php?topic=33864.0 ownCloud: http://lime-technology.com/forum/index.php?topic=33891.0 If you need needo's support, please go here: http://lime-technology.com/forum/index.php?topic=33822.msg312539.0 Update requests can be made here or by PM.
  18. I'll finish it and post a template on my repository until the end of the week, ok? I'll keep you posted.
  19. That's mean! We have so many projects that somethings just got lost in the way.
  20. Just put them on the config folder, probably under your appdata folder. The files are server.pem and server.key.
  21. So I'm having the same problem. I looked to make sure that the ip/port settings are correct. I even redeployed the docker several times, and on redeploy I'm able to connect to CrashPlan for a while. Then I'm not able to reconnect, the launcher on Windows just stays open, but does not say unable to connect to server. And it will actually stay open for a while and close when I shutdown the docker. So I know there is some sort of connection being formed. The only thing that I've come across is: http://support.code42.com/CrashPlan/Latest/Troubleshooting/Unable_To_Connect_To_The_Backup_Engine#Linux_Solution And I noticed in the docker file that one language is not en_US like the rest. I don't know if this is related or not as I haven't figured out yet how to manually edit the docker file. Ok, found the potential flaw, now I'll try to solve it.
  22. Ok, I think I did it: install.sh #!/bin/bash OWNCLOUD_VERSION="8.0.2" ######################################### ## ENVIRONMENTAL CONFIG ## ######################################### # Configure user nobody to match unRAID's settings export DEBIAN_FRONTEND="noninteractive" usermod -u 99 nobody usermod -g 100 nobody usermod -d /home nobody chown -R nobody:users /home # Disable SSH rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh ######################################### ## REPOSITORIES AND DEPENDENCIES ## ######################################### # Repositories add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty universe multiverse" add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe multiverse" # Install Dependencies apt-get update -qq apt-get install -qy php5-cli \ php5-gd \ php5-pgsql \ php5-sqlite \ php5-mysqlnd \ php5-curl \ php5-intl \ php5-mcrypt \ php5-ldap \ php5-gmp \ php5-imagick \ php5-fpm \ php5-gd \ smbclient \ nginx \ openssl \ wget \ bzip2 ######################################### ## FILES, SERVICES AND CONFIGURATION ## ######################################### # NGINX mkdir -p /etc/service/nginx cat <<'EOT' > /etc/service/nginx/run #!/bin/bash umask 000 exec /usr/sbin/nginx -c /etc/nginx/nginx.conf EOT # PHP-FPM mkdir -p /etc/service/php-fpm cat <<'EOT' > /etc/service/php-fpm/run #!/bin/bash umask 000 exec /usr/sbin/php5-fpm --nodaemonize --fpm-config /etc/php5/fpm/php-fpm.conf EOT # CONFIG cat <<'EOT' > /etc/my_init.d/config.sh #!/bin/bash # Fix the timezone if [[ $(cat /etc/timezone) != $TZ ]] ; then echo "$TZ" > /etc/timezone dpkg-reconfigure -f noninteractive tzdata sed -i -e "s#;date.timezone.*#date.timezone = ${TZ}#g" /etc/php5/fpm/php.ini fi # Set port if [[ -z ${PORT_HTTPS} ]]; then PORT_HTTPS="8000" fi sed -i -e "s|{PORT_HTTPS}|${PORT_HTTPS}|" /etc/nginx/sites-enabled/owncloud.site if [[ -f /var/www/owncloud/data/server.key && -f /var/www/owncloud/data/server.pem ]]; then echo "Found pre-existing certificate, using it." cp -f /var/www/owncloud/data/server.* /opt/ else if [[ -z $SUBJECT ]]; then SUBJECT="/C=US/ST=CA/L=Carlsbad/O=Lime Technology/OU=unRAID Server/CN=yourhome.com" fi echo "No pre-existing certificate found, generating a new one with subject:" echo $SUBJECT openssl req -new -x509 -days 3650 -nodes -out /opt/server.pem -keyout /opt/server.key \ -subj "$SUBJECT" ls /opt/ cp -f /opt/server.* /var/www/owncloud/data/ fi if [[ ! -d /var/www/owncloud/data/config ]]; then mkdir /var/www/owncloud/data/config fi if [[ -d /var/www/owncloud/config ]]; then rm -rf /var/www/owncloud/config ln -sf /var/www/owncloud/data/config/ /var/www/owncloud/config fi chown -R nobody:users /var/www/owncloud EOT #PHP-FPM config cat <<'EOT' > /etc/php5/fpm/pool.d/www.conf [global] daemonize = no [www] user = nobody group = users listen = /var/run/php5-fpm.sock listen.mode = 0666 pm = dynamic pm.max_children = 50 pm.start_servers = 3 pm.min_spare_servers = 2 pm.max_spare_servers = 4 pm.max_requests = 500 php_admin_value[upload_max_filesize] = 100G php_admin_value[post_max_size] = 100G php_admin_value[default_charset] = UTF-8 EOT # NGINX config cat <<'EOT' > /etc/nginx/nginx.conf user nobody users; daemon off; worker_processes 4; pid /run/nginx.pid; events { worker_connections 768; } http { sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; include /etc/nginx/mime.types; default_type application/octet-stream; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; gzip on; gzip_disable "msie6"; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; } EOT # NGINX site rm -f /etc/nginx/sites-enabled/default cat <<'EOT' > /etc/nginx/sites-enabled/owncloud.site upstream php-handler { server unix:/var/run/php5-fpm.sock; } server { listen 8000 ssl; server_name ""; ssl_certificate /opt/server.pem; ssl_certificate_key /opt/server.key; # Force SSL error_page 497 https://$host:{PORT_HTTPS}$request_uri; # Path to the root of your installation root /var/www/owncloud; client_max_body_size 100G; fastcgi_buffers 64 4K; rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect; rewrite ^/carddav(.*)$ /remote.php/carddav$1 redirect; rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect; index index.php; error_page 403 /core/templates/403.php; error_page 404 /core/templates/404.php; location = /robots.txt { allow all; log_not_found off; access_log off; } location ~ ^/(?:\.htaccess|data|config|db_structure\.xml|README) { deny all; } location / { # The following 2 rules are only needed with webfinger rewrite ^/.well-known/host-meta /public.php?service=host-meta last; rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last; rewrite ^/.well-known/carddav /remote.php/carddav/ redirect; rewrite ^/.well-known/caldav /remote.php/caldav/ redirect; rewrite ^(/core/doc/[^\/]+/)$ $1/index.html; try_files $uri $uri/ index.php; } location ~ \.php(?|/) { fastcgi_split_path_info ^(.+\.php)(/.+)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_pass php-handler; } # Optional: set long EXPIRES header on static assets location ~* \.(?:jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ { expires 30d; # Optional: Don't log access to assets access_log off; } } server { listen 8001; server_name ""; # Path to the root of your installation root /var/www/owncloud; client_max_body_size 100G; fastcgi_buffers 64 4K; rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect; rewrite ^/carddav(.*)$ /remote.php/carddav$1 redirect; rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect; index index.php; error_page 403 /core/templates/403.php; error_page 404 /core/templates/404.php; location = /robots.txt { allow all; log_not_found off; access_log off; } location ~ ^/(?:\.htaccess|data|config|db_structure\.xml|README) { deny all; } location / { # The following 2 rules are only needed with webfinger rewrite ^/.well-known/host-meta /public.php?service=host-meta last; rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last; rewrite ^/.well-known/carddav /remote.php/carddav/ redirect; rewrite ^/.well-known/caldav /remote.php/caldav/ redirect; rewrite ^(/core/doc/[^\/]+/)$ $1/index.html; try_files $uri $uri/ index.php; } location ~ \.php(?|/) { fastcgi_split_path_info ^(.+\.php)(/.+)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_pass php-handler; } # Optional: set long EXPIRES header on static assets location ~* \.(?:jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ { expires 30d; # Optional: Don't log access to assets access_log off; } } EOT chmod -R +x /etc/service/ /etc/my_init.d/ ######################################### ## INSTALLATION ## ######################################### # Install ownCloud mkdir -p /var/www/ wget -qO - "https://download.owncloud.org/community/owncloud-${OWNCLOUD_VERSION}.tar.bz2" | tar -jx -C /var/www ######################################### ## CLEANUP ## ######################################### # Clean APT install files apt-get clean -y rm -rf /var/lib/apt/lists/* /var/cache/* /var/tmp/* The PORT_HTTPS variable will change the redirection port. I couldn't find a way nginx would automatically detect the container external port. Please try and let me know. Since my "Movies Disaster", I don't have a running test environment.
×
×
  • Create New...