The v10 Appliance Console – Command List · Self-hosted

The v10 Appliance Console – Command List

The following commands are available from the server console.  Note that some commands only apply to specific server versions and these are highlighted as appropriate

CommandFunction
check-updatesChecks for new server updates using the configured (or default online) repository
install-updatesInstalls new server updates.  Note ‘check-updates’ must be run before using this command
net-devicesLists network adapter names on the server
net-device -s "adapter-name" manual "ip-address subnet-mask gateway dns1 dns2Configures the specified network adapter’s network configuration
net-device -s "adapter-name" dhcpConfigures the specified network adapter to use DHCP for its network configuration
net-routes -s "adapter-name" "192.168.0.0/24 10.1.1.2"Configures a static route for the specific network adapter.  In this example, adapter ens192 to reach network 192.168.0.0 via gateway 10.1.1.2
nmcliNetwork adapter configuration
fadmin-web-access enable|disableBlanket allow or deny for fadmin to access the Foldr web app & Foldr Settings administrative interfaces
fadmin-web-access enable "allow 10.10.10.0/24" "deny 0.0.0.0/0"Example command to permit fadmin to sign into the Foldr web app & Foldr Settings from network 10.10.10.0/24 and deny all other login requests for this account
reset-mfaResets the multi-factor authentication status for the fadmin account
cert-resetResets the SSL certificate installation back to the self-signed (default) certificate
search-reserve-mem xThis command sets a limit on the amount of memory (in GB) that will be reserved by the server for other server functions (not search related).  search-reserve-mem 4 is the minimum recommended value.
iptablesModifies the built-in firewall.  All rules should be commented -m comment –comment “foldr-admin” to enable the rules to persist after a system update.
iptables-saveCommits firewall rules so they are permanently saved and survive system restart
digDNS infomormation and diagnostics
netstatDisplays network connections and statistics
nslookupDNS troubleshooting
passwdPassword change utility for fadmin
pingNetwork connectivity & troubleshooting
tracerouteNetwork troubleshooting
support-enableEnables support mode.  This can be used a technical support representative to log in for troubleshooting purposes
flush-queueFlushes the server queue
flush-cacheFlushes the database cache
set-ciphers modern | legacyConfigures web server TLS/SSL configuration.  Legacy mode disables TLS 1.0, 1.1 and also disables the 3DES cipher suites
smb-mode legacy|default|modern|edgeConfigures SMB protocol on the appliance.  Legacy =  sets max client protocol to SMB1.  Default = sets max client protocol to SMB2.  Modern = sets min client protocol to SMB2 & max client protocol to SMB3.  Edge = Set max client protocol to SMB3
http-test domain.fqdnHTTP(S) connectivity and diagnostics
ldap-test (filter)LDAP connectivity and diagnostics using ldapsearch
krb5-ticketsLists the Kerberos tickets held on the appliance and the account each one belongs to. A ticket belonging to any account other than the one Foldr uses will stop Kerberos access to SMB shares, and is cleared by a reboot
remove-tc-logRemoves the transaction co-ordinator log file to aid with database recovery/start
db-bootstrapMarks the local database as ‘safe to bootstrap’ – Useful to recover a cluster that has not shut down gracefully
list-checkoutsLists all checkouts currently made by users, either manually or via an Edit in Office session in the web app
remove-checkouts [days]Removes checkouts on files older than the number of days specified
remove-devices [days]Removes registered user devices that were last seen older than the number of days specified
ocsp-enable | disableEnables or disables OCSP stapling
show-resolv-confDisplays the currently configured content of resolv.conf
flush-geoipResets the firewall geo-location block configuration to default (no countries blocked)
client-access-enable | disableEnables or disables client access on the server
install-xen-guest-utilsDownloads and installs the Linux XenTools package for Citrix Xenserver 8
install-nutanix-guest-toolsInstalls the Guest Tools package for Nutanix AHV

← All articles