New updates available

openmediavault 6.9.7

  • Various improvements.
  • Prevent the creation of Btrfs snapshots from snapshots.
  • Do not delete Btrfs snapshots that are used as shared folders.
  • Skip the deletion of Btrfs snapshots with subordinate subvolumes.

openmediavault-ftp 6.0.6

  • Add missing log file configuration files.

openmediavault-filebrowser 6.0.8

  • Update locale files.
  • Add catatonit as package dependency to prevent failures when starting the pod.

openmediavault-photoprism 6.0.10

  • Update locale files.
  • Add catatonit as package dependency to prevent failures when starting the pod.

openmediavault-s3 6.0.8

  • Update locale files.
  • Add catatonit as package dependency to prevent failures when starting the pod.

How to use Python to execute a RPC

If you want to execute a RPC from an external host using Python, then you should use the following code.

import requests
import json

url='http://localhost/rpc.php'

session = requests.Session()
# Login and get the session cookie.
session.post(url, data=json.dumps({
	'service': 'session',
	'method': 'login',
	'params': {
		'username': 'admin',
		'password': 'xyz'
	}
}))
# Execute a RPC.
response = session.post(url, data=json.dumps({
	'service': 'system',
	'method': 'noop',
	'params': None
}))
print(response.json())
# Logout.
session.post(url, data=json.dumps({
	'service': 'session',
	'method': 'logout',
	'params': None
}))
# This RPC should fail because of an invalid session authentication.
response = session.post(url, data=json.dumps({
	'service': 'system',
	'method': 'noop',
	'params': None
}))
print(response.json())
session.close()

 

How to use curl to execute a RPC

If you want to execute a RPC from the command line on your host system, then you should use the following commands.

# Login
curl --request POST --cookie-jar cookies.txt --data '{"service":"session","method":"login","params":{"username":"admin","password":"<PASSWORD>"}}' <URL>/rpc.php
# Execute the RPC
curl --request POST --cookie cookies.txt --data '{"service":"<NAME>","method":"<NAME>","params":null}' <URL>/rpc.php
# Logout
curl --request POST --cookie cookies.txt --data '{"service":"session","method":"logout","params":null}' <URL>/rpc.php

Example:

curl --request POST --cookie cookies.txt --data '{"service":"system","method":"noop","params":null}' <URL>/rpc.php

New update available

The following changes were made:

openmediavault 1.11

  • Update locales.
  • Sort tabs in ‘Diagnostics | System Information | Status | Disk usage’.
  • Mantis 0001227: Show bridge and VLAN network interface devices within the GUI.
  • Mantis 0001246: Bonded Interface with 802.3ad-style link aggregation problem.
  • Mantis 0001247: Fix division by zero in OMVSystem::getCPUStats().

tumaBox – Is It The Next Great Device For Your Home and Office?

The OMV project will help tumaBox to become to be known, so please have a look at their press release.

A small team of young technology enthusiasts developed a revolutionary little box that brings together a NAS (network-attached storage), a media player, a router and your own personal cloud which works at the highest level of data security and performance known to man. The project (known as tumaBox) has entered a crowd funding campaign on www.indiegogo.com, so everybody is free to support the future MUST-HAVE device or even become one of its first exclusive owners.

tuma’s “BUILT-INS”

tumaBox is a silent open source device (under continuous updating and development, due to the infinite upgrading possibilities it offers) set to work at maximum capacity 24/7 no matter the tasks it will be submitted to and at the moment it consists of:

– an ultra secure, power saver, speedy NAS with generous storage capacities fit to the owner’s need (a single storage feature which is accessible from any major OS and gives you super speedy wired or wireless access to all of your personal files; the NAS is accessible from all over the world either through a preconfigured vpn or through your own preinstalled private cloud at the highest level of privacy and security)

– a customizable MEDIA CENTER with a super modern and easy to handle interface (owners can watch their favorite movies in full HD, have easy access to hundreds of online streaming sources like Youtube, Vimeo, Dailymotion, BBC iPlayer, Canal+, Arte, Revision 3 and many more; the media player is controllable via web browser, phone, tablet or its classic infrared remote control, it offers a high level of information on movies (poster, cast, plot) or whatever entertains the “audience” and it can be connected to any gadget you are used to store your media treats on: external HDDs, flash sticks or card readers via USB, SATA or eSATA)

– your very own personal private cloud with high security and impressive capacity (the solution works exactly as the already known clouds, only that with tumaBox the cloud is created directly on the NAS mentioned above, so there is no need for any personal data to be uploaded to a third party and it is always at the user’s disposal – no more putting your data in some company’s hands; the storage capacity is unmatched and processes are faster, due to the simple fact that no repeated uploads are necessary: the cloud contains all that is stored on the NAS; more than that, the feature was implemented in order to ease and improve the efficiency of team work, to shorten the processes and, therefore, to soften the well-known deadlines’ pressure).

– a secure and improved wireless ROUTER (delivering the true gigabit wired speed due to its smart configurations and speeds up to 300 Mbps wireless with MIMO). You can finally throw virtually any number of connections to it or heavy filtering without any performance degradation. It also takes care of securing and encrypting your connections and you can even serve your blog or web page from it.

You’ll get more information at www.tumabox.org.