Commit Graph

4438 Commits

Author SHA1 Message Date
Eric Schultz
9f389b8ace libvirt_init: only copy contents of /etc/libvirt/qemu from old domain.img to new one 2016-03-08 17:36:35 -08:00
Tom Mortensen
bd8e799751 Fix buffer overflow vulnerability with webGUI login dialog (sync with 6.1.9).
More work on change log in unRAIDServer.plg
Update dynamix version; will need more work before public release.
2016-03-08 16:12:16 -08:00
Eric Schultz
8b72f30cd9 Upgrade custom package php to version 5.6.19 2016-03-07 20:08:49 -08:00
Eric Schultz
124b1ffa3c Fix: allow deleting docker vdisk 2016-03-06 18:06:39 -08:00
Eric Schultz
e839fae90c Fix docker log coloring for 6.2 2016-03-06 17:35:11 -08:00
Eric Schultz
3a6880113e Fix arguments with spaces when calling docker 2016-03-05 14:00:51 -08:00
Eric Schultz
42c54a7f84 unRAIDServer.plg: copy/overwrite syslinux/syslinux.cfg- (all versions) and upgrade syslinux/syslinux.cfg to include GUI Mode boot option for versions < 6.2 2016-03-05 12:18:39 -08:00
Eric Schultz
b0fe6c8dad Don't backup syslinux.cfg to syslinux.cfg- for acs-override changes. bad eric! 2016-03-05 12:02:18 -08:00
Eric Schultz
2d04dd1d00 System Devices: Added 'CPU Thread Pairings' section/output 2016-03-04 21:44:08 -08:00
Eric Schultz
a1e1b85a6a Fix: Color coding only for 'docker logs' 2016-03-04 15:37:23 -08:00
Eric Schultz
d58c69e35e Updated unRAIDServer.plg change log for 6.2-next 2016-03-04 07:59:15 -08:00
Eric Schultz
58e15b6ca5 Force show lsof port numbers to get emhttp port 2016-03-03 19:04:07 -08:00
Eric Schultz
bf271fc2ab System Devices: append product:vendor IDs to lspci output 2016-03-03 13:47:33 -08:00
Eric Schultz
9482eb39a3 Merge upstream webgui changes from Ronald 2016-03-03 13:39:57 -08:00
Tom Mortensen
807d1563e8 Upgrade to unRAID-6.2 will add new variables to config/domain.cfg:
IMAGE_FILE="/mnt/user/system/libvirt/libvirt.img"
  IMAGE_SIZE="1"

Fix buffer overflow bug in emhttp user credentials validation.
2016-03-03 10:47:44 -08:00
Eric Schultz
e72e358207 Move Reboot and Power down buttons below Clear stats 2016-03-02 19:13:30 -08:00
Eric Schultz
c70cca35aa Always show the Reboot and Power down buttons -- just disabled when array is started 2016-03-02 17:45:03 -08:00
Eric Schultz
8bc2cd6109 DeviceInfo: make btrfs scrub options a checkbox -- just like docker and libvirt btrfs scrub 2016-02-28 20:51:46 -08:00
Eric Schultz
931169d8b7 VM Settings: added btrfs scrub and info panel 2016-02-28 20:28:26 -08:00
Eric Schultz
5c91aaf170 Docker Settings: minor correction to btrfs scrub help text styling 2016-02-28 20:21:58 -08:00
Eric Schultz
a87ff3bece VM Settings: added inputs for IMAGE_NAME and IMAGE_SIZE 2016-02-27 21:11:22 -08:00
Tom Mortensen
489d8922f7 Restore 'Trust Parity' functionality. 2016-02-27 13:31:38 -08:00
Eric Schultz
4148726fd7 symlink and apply execute bit on libvirt_init 2016-02-26 21:27:08 -08:00
Eric Schultz
e831ab85e3 Upgrade jQuery to version 2.2.1 2016-02-26 21:20:51 -08:00
Eric Schultz
a4df64c7fa Allow modifying Docker and VM Settings pages; show docker and libvirt running status 2016-02-26 21:19:31 -08:00
Eric Schultz
b78eff05eb Dont anonymize bug report diagnostics sent to Limetech 2016-02-25 10:26:44 -08:00
Eric Schultz
22a9dfe9dc Removed banner css files since they are not used anymore and were removed upstream 2016-02-23 14:32:18 -08:00
Eric Schultz
b541eaa074 Fix: Docker remove context item should delete container not image 2016-02-23 06:41:58 -08:00
Eric Schultz
3f1b43c135 make the trial countdown less like a doomsday clock 2016-02-22 00:53:48 -08:00
Tom Mortensen
1221761808 Version 6.2-beta18 2016-02-21 23:26:41 -08:00
Tom Mortensen
5104e879c0 Merge branch 'master' of ssh://keys.lime-technology.com:60706/~/repositories/unraid_os 2016-02-21 16:36:57 -08:00
Tom Mortensen
aa0657ef69 Changed logic of checking for VM capability in Info page.
This gets rid of extraneous syslog message:
  Feb 21 14:43:33 develop64 kernel: kvm: already loaded the other module
2016-02-21 15:36:37 -08:00
Tom Mortensen
08146b82ec Sequencing start/stop of docker and libvirt moved into emhttp. After network services (smb, afp, nfs) have
been started we start docker (if enabled) and then libvirt (if enabled), and only if array is Started in
non-maintenance mode. Upon array Stop, libvirt is stopped first, then docker, then network services.

The libvirt loopback image now exists on the "system" system share.  Script ./dynamix.vm.manager/scripts/libvirt_init
is invoked each time libvirt is started to handle initialization of the mounted image file if necessary.  Also got
rid of the old way libvirt loopback was initialized via compressed tar file.

Create/mount of docker and libvirt loopback images implemented in /usr/local/sbin/mount_image script.

The docker and libvirt loopback image files by default are located on /mnt/user/system/docker.img and
/mnt/user/system/libvirt/libvirt.img.

Default /boot/config/docker.cfg and /boot/config/domains.cfg added to flash image.  This is so that docker and
libvirt start out enabled.

The /boot/config/shares/{appdata,domains,isos,system}.cfg files are created each time array Starts if they do
not exist already. This establishes defaults for these so-called "system" shares.

The "appdata", "domains", and "system" system shares have setting shareUseCache="only".  These shares therefore
cannot be auto-created unless/until a cache disk/pool is available.
2016-02-21 15:18:31 -08:00
Eric Schultz
27ffe89882 Abbreviated trial time remaining shown in header 2016-02-21 09:45:18 -08:00
Eric Schultz
680bed725c revert hack used to adjust slot number for non-pro key types (emhttp used to hide parity2 if license was not Pro) 2016-02-21 09:18:48 -08:00
Eric Schultz
df87209fba Show unassigned device labels as lowercase 2016-02-21 09:14:35 -08:00
Eric Schultz
497dc1d735 Fix: Save/Test settings on Notification Agents page 2016-02-21 09:11:14 -08:00
Eric Schultz
da0b6f0a1e Added support for user specified network MTU value 2016-02-21 09:00:33 -08:00
Eric Schultz
2f353abfca Fix: /mnt/user path transpose tweaks to use the first cache/disk if multiple are listed 2016-02-12 07:18:06 -08:00
Eric Schultz
4f560d7ee5 Docker code cleanup/refactor and bug fixes:
- Dont start container after update if it was in a stopped state before the update

- Dont try to stop a container if it is not running (was causing warnings to be logged)

- Reduced script tag generation for docker pull operations

- Correctly clean up old orphan images after updating a container (was broken before)

- Eliminated race condition when deleting both container and image

- Switched to use SweetAlert instead of jQuery UI dialogs for prompts and alerts
2016-02-12 07:15:23 -08:00
Eric Schultz
bb7a9a8080 merge in changes from unRAID 6.1.8 2016-02-09 16:19:04 -08:00
Eric Schultz
fb1c136c3f Fix: vm manager: vdisk path value can be read from 'dev' or 'file' xml attributes 2016-02-07 22:50:55 -08:00
Eric Schultz
762190d10b Fix: /mnt/user path transpose tweaks to handle spaces in path names better 2016-02-07 20:47:19 -08:00
Eric Schultz
ad07488659 Fix: libvirt: skip creating domain.img if exists already 2016-02-07 20:04:55 -08:00
Tom Mortensen
478a9636b4 6.2-beta17 2016-02-04 16:56:01 -08:00
Eric Schultz
fa46d8be68 Add trial expire countdown to header bar 2016-01-28 16:02:25 -08:00
Tom Mortensen
dc16e3bd56 Version 6.2-beta16
- Trial key consults keyserver upon boot to get time for purposes of
validating expiration. Server time in general is not affected and ntp
is still used to maintain that.
- Trial attached devices limit increased from 3 to 6.
- Support NVMe array/cache devices
- Devices coming online due to format complete immediately available
without having to stop/start array.
- Shares marked cache-only can still be created if no cache disk
exists or if not enough space left on cache disk. Same for objects
created on cache-only share.
- Numerous misc. code improvements

Known issues:
- Temperature for SAS and NVMe not obtained correctly.  SCSI does not
support SMART but smartctl can still be used to get temperatures -
need to add code to do this however.
2016-01-26 14:09:58 -08:00
Tom Mortensen
d9f295abdc Change wording that Trial supports 6 devices instead of 3. 2016-01-23 11:33:45 -08:00
Tom Mortensen
74b7d4871f Misc. tweaks. 2016-01-23 11:33:18 -08:00
Eric Schultz
b0ad16c8b0 Fix parity history code to work with new dual parity vars 2016-01-22 19:41:47 -08:00