Tuesday, 19 May 2026
Install miniconda3
mars@helios:~$ sudo bash Miniconda3-latest-Linux-x86_64.sh -b -p /mnt/data1/miniconda3
PREFIX=/mnt/data1/miniconda3
Unpacking bootstrapper...
Unpacking payload...
Installing base environment...
Preparing transaction: ...working... done
Executing transaction: ...working... done
installation finished.
mars@helios:~$ cd /mnt/data1
mars@helios:/mnt/data1$ ls -l
total 44
drwxrwxrwx 5 root root 4096 May 19 17:47 ai
drwx--x--x 4 root root 4096 Apr 22 10:55 containerd
drwx--x--- 12 root root 4096 May 19 20:55 docker
drwxr-xr-x 4 root root 4096 Apr 22 14:16 huggingface
drwx------ 2 root root 16384 Apr 22 13:18 lost+found
drwxr-xr-x 18 root root 4096 May 19 21:09 miniconda3
drwxrwxrwx 3 root root 4096 May 18 17:18 models
drwxr-xr-x 4 root root 4096 Apr 22 10:25 nvidia
mars@helios:/mnt/data1$ sudo chown -R mars:mars miniconda3
mars@helios:/mnt/data1$ /mnt/data1/miniconda3/bin/conda init bash
no change /mnt/data1/miniconda3/condabin/conda
no change /mnt/data1/miniconda3/bin/conda
no change /mnt/data1/miniconda3/bin/activate
no change /mnt/data1/miniconda3/bin/deactivate
no change /mnt/data1/miniconda3/etc/profile.d/conda.sh
no change /mnt/data1/miniconda3/etc/fish/conf.d/conda.fish
no change /mnt/data1/miniconda3/shell/condabin/Conda.psm1
no change /mnt/data1/miniconda3/shell/condabin/conda-hook.ps1
no change /mnt/data1/miniconda3/lib/python3.13/site-packages/xontrib/conda.xsh
no change /mnt/data1/miniconda3/etc/profile.d/conda.csh
modified /home/mars/.bashrc
==> For changes to take effect, close and re-open your current shell. <==
mars@helios:/mnt/data1$ exit
(base) mars@helios:~$ source /mnt/data1/miniconda3/etc/profile.d/conda.sh
(base) mars@helios:~$ /co^C
(base) mars@helios:~$ conda create -y -n 1Cat-vLLM-1.0.0 python=3.12
2 channel Terms of Service accepted
Retrieving notices: done
Channels:
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 26.3.2
latest version: 26.5.0
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: /mnt/data1/miniconda3/envs/1Cat-vLLM-1.0.0
added / updated specs:
- python=3.12
The following packages will be downloaded:
package | build
---------------------------|-----------------
_openmp_mutex-5.1 | 52_gnu 7 KB
libexpat-2.8.0 | h7354ed3_0 123 KB
packaging-26.0 | py312h06a4308_0 193 KB
python-3.12.13 | h4d16e0c_1 30.1 MB
setuptools-82.0.1 | py312h06a4308_0 1.6 MB
wheel-0.46.3 | py312h06a4308_0 69 KB
------------------------------------------------------------
Total: 32.1 MB
The following NEW packages will be INSTALLED:
_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
_openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-52_gnu
bzip2 pkgs/main/linux-64::bzip2-1.0.8-h5eee18b_6
ca-certificates pkgs/main/linux-64::ca-certificates-2026.3.19-h06a4308_0
ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.44-h9e0c5a2_3
libexpat pkgs/main/linux-64::libexpat-2.8.0-h7354ed3_0
libffi pkgs/main/linux-64::libffi-3.4.8-hc5d346e_2
libgcc pkgs/main/linux-64::libgcc-15.2.0-h69a1729_7
libgcc-ng pkgs/main/linux-64::libgcc-ng-15.2.0-h166f726_7
libstdcxx pkgs/main/linux-64::libstdcxx-15.2.0-h39759b7_7
libuuid pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0
libxcb pkgs/main/linux-64::libxcb-1.17.0-h9b100fa_0
libzlib pkgs/main/linux-64::libzlib-1.3.1-h47b2149_1
ncurses pkgs/main/linux-64::ncurses-6.5-h7934f7d_0
openssl pkgs/main/linux-64::openssl-3.5.6-h1b28b03_0
packaging pkgs/main/linux-64::packaging-26.0-py312h06a4308_0
pip pkgs/main/noarch::pip-26.0.1-pyhc872135_1
pthread-stubs pkgs/main/linux-64::pthread-stubs-0.3-h0ce48e5_1
python pkgs/main/linux-64::python-3.12.13-h4d16e0c_1
readline pkgs/main/linux-64::readline-8.3-hc2a1206_0
setuptools pkgs/main/linux-64::setuptools-82.0.1-py312h06a4308_0
sqlite pkgs/main/linux-64::sqlite-3.51.2-h3e8d24a_0
tk pkgs/main/linux-64::tk-8.6.15-h54e0aa7_0
tzdata pkgs/main/noarch::tzdata-2026a-he532380_0
wheel pkgs/main/linux-64::wheel-0.46.3-py312h06a4308_0
xorg-libx11 pkgs/main/linux-64::xorg-libx11-1.8.12-h9b100fa_1
xorg-libxau pkgs/main/linux-64::xorg-libxau-1.0.12-h9b100fa_0
xorg-libxdmcp pkgs/main/linux-64::xorg-libxdmcp-1.1.5-h9b100fa_0
xorg-xorgproto pkgs/main/linux-64::xorg-xorgproto-2024.1-h5eee18b_1
xz pkgs/main/linux-64::xz-5.8.2-h448239c_0
zlib pkgs/main/linux-64::zlib-1.3.1-h47b2149_1
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate 1Cat-vLLM-1.0.0
#
# To deactivate an active environment, use
#
# $ conda deactivate
(base) mars@helios:~$ conda activate 1Cat-vLLM-1.0.0
Wednesday, 29 April 2026
Truenas app issue
Unset pool
systemctl restart docker
service middlewared restart
if error (cannot unmount):
fuser -mv /mnt/.ix-apps/docker
USER PID ACCESS COMMAND
/mnt/.ix-apps/docker:
root kernel mount /mnt/.ix-apps/docker
apps 16726 ..c.. valkey-server
apps 16727 ..c.. valkey-server
apps 17222 ..c.. valkey-server
apps 17248 ..c.. valkey-server
root@truenas[/home/admin]# kill -9 16726 16727 17222 17248
umount -l /mnt/.ix-apps/docker
if cannot start a service:
ps -aux | grep nexus
inet6 fe80::862b:2bff:fe5d:a5c3 prefixlen 64 scopeid 0x20
ether 84:2b:2b:5d:a5:c3 txqueuelen 1000 (Ethernet)
RX packets 2851150 bytes 3499652968 (3.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 824812 bytes 506142219 (482.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
147 sudo ip link set eno1 promisc on
148 ifconfig eno1
149 sudo ip link set br01 promisc on
Wednesday, 4 March 2026
Wednesday, 25 February 2026
Fix to view VM on Truenas Fangtooth
This fix will solve this problem whereby the VM list do not appear on the UI:
midclt call vm.query
3 validation errors for VMQueryResult
result.list[VMQueryResultItem].8.devices.1.attributes.CDROM.path
String should match pattern '^/mnt/[^{}]*$' [type=string_pattern_mismatch, input_value='/mnt', input_type=str]
For further information visit https://errors.pydantic.dev/2.9/v/string_pattern_mismatch
result.VMQueryResultItem
Input should be a valid dictionary or instance of VMQueryResultItem [type=model_type, input_value=[{'id': 6, 'name': 'unica...ain_state': 'RUNNING'}}], input_type=list]
For further information visit https://errors.pydantic.dev/2.9/v/model_type
result.int
Input should be a valid integer [type=int_type, input_value=[{'id': 6, 'name': 'unica...ain_state': 'RUNNING'}}], input_type=list]
For further information visit https://errors.pydantic.dev/2.9/v/int_type
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py", line 323, in process_method_call
result = await method.call(app, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 61, in call
return await self._dump_result(app, methodobj, result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 64, in _dump_result
return self.middleware.dump_result(self.serviceobj, methodobj, app, result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 819, in dump_result
return serialize_result(new_style_returns_model, result, expose_secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/handler/result.py", line 13, in serialize_result
return model(result=result).model_dump(
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pydantic/main.py", line 212, in __init__
validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 3 validation errors for VMQueryResult
result.list[VMQueryResultItem].8.devices.1.attributes.CDROM.path
String should match pattern '^/mnt/[^{}]*$' [type=string_pattern_mismatch, input_value='/mnt', input_type=str]
For further information visit https://errors.pydantic.dev/2.9/v/string_pattern_mismatch
result.VMQueryResultItem
Input should be a valid dictionary or instance of VMQueryResultItem [type=model_type, input_value=[{'id': 6, 'name': 'unica...ain_state': 'RUNNING'}}], input_type=list]
For further information visit https://errors.pydantic.dev/2.9/v/model_type
result.int
Input should be a valid integer [type=int_type, input_value=[{'id': 6, 'name': 'unica...ain_state': 'RUNNING'}}], input_type=list]
For further information visit https://errors.pydantic.dev/2.9/v/int_type
Reference : https://forums.truenas.com/t/locked-out-of-vm-management-in-25-4-2/49383
Run the command
for i in {0..100}; do midclt call vm.device.get_instance "$i"; done 1> device.log 2>&1
View the device.log and see which id has errors (id is the next one after the successful id):
vi device.log
Check to ensure the id has error
midclt call vm.device.get_instance 68
Delete the device
midclt call vm.device.delete 68
Check it no longer exists:
midclt call vm.device.get_instance 68
[ENOENT] ALL: VMDevice 68 does not exist
Check in the UI to see if you can see the VMs now.
Sunday, 25 January 2026
Nextcloud stuck in maintenance mode on Truenas
In the nextcloud.log :
Application Name:nextcloudContainer ID:1f6482aeb7f5632a603610ae84d117277a6fa6e37733a367f0ae6d56bfa80c26 2026-01-22 11:27:37.019381+00:00Configuring Redis as session handler 2026-01-22 11:27:37.407477+00:00Warning: /var/www/html/config/redis.config.php differs from the latest version of this image at /usr/src/nextcloud/config/redis.config.php 2026-01-22 11:27:37.411800+00:00Warning: /var/www/html/config/reverse-proxy.config.php differs from the latest version of this image at /usr/src/nextcloud/config/reverse-proxy.config.php 2026-01-22 11:27:37.415816+00:00Warning: /var/www/html/config/s3.config.php differs from the latest version of this image at /usr/src/nextcloud/config/s3.config.php 2026-01-22 11:27:37.419405+00:00Warning: /var/www/html/config/smtp.config.php differs from the latest version of this image at /usr/src/nextcloud/config/smtp.config.php 2026-01-22 11:27:37.427170+00:00=> Searching for hook scripts (*.sh) to run, located in the folder "/docker-entrypoint-hooks.d/before-starting" 2026-01-22 11:27:37.432297+00:00==> Running the script (cwd: /var/www/html): "/docker-entrypoint-hooks.d/before-starting/ix-update-hosts-script.sh" 2026-01-22 11:27:37.458458+00:00Updating database and redis host in config.php 2026-01-22 11:27:38.270344+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:38.270467+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:38.280614+00:00System config value redis => host set to string redis 2026-01-22 11:27:38.308870+00:00==> Finished executing the script: "/docker-entrypoint-hooks.d/before-starting/ix-update-hosts-script.sh" 2026-01-22 11:27:38.309646+00:00==> Running the script (cwd: /var/www/html): "/docker-entrypoint-hooks.d/before-starting/ix-update-trusted-domains-script.sh" 2026-01-22 11:27:38.330937+00:00Updating trusted domains. It will append new domains to the existing list. 2026-01-22 11:27:38.331027+00:00If you see a domain that is not longer valid, you need to manually remove it from the list in the config.php file. 2026-01-22 11:27:39.005698+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:39.005792+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:39.665224+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:39.665301+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:39.672929+00:00System config value trusted_domains deleted 2026-01-22 11:27:40.508083+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:40.508607+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:40.521488+00:00System config value trusted_domains => 0 set to string 127.0.0.1 2026-01-22 11:27:41.455866+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:41.455980+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:41.465707+00:00System config value trusted_domains => 1 set to string 192.168.1.158 2026-01-22 11:27:42.288729+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:42.288818+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:42.297708+00:00System config value trusted_domains => 2 set to string 192.168.1.158:9002 2026-01-22 11:27:43.136640+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:43.136738+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:43.147585+00:00System config value trusted_domains => 3 set to string localhost 2026-01-22 11:27:43.821598+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:43.821672+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:43.827142+00:00System config value trusted_domains => 4 set to string nextcloud 2026-01-22 11:27:43.845482+00:00==> Finished executing the script: "/docker-entrypoint-hooks.d/before-starting/ix-update-trusted-domains-script.sh" 2026-01-22 11:27:43.845608+00:00=> Completed executing scripts in the "before-starting" folder 2026-01-22 11:27:43.901133+00:00AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using fdd0:0:0:e::4. Set the 'ServerName' directive globally to suppress this message 2026-01-22 11:27:43.927778+00:00AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using fdd0:0:0:e::4. Set the 'ServerName' directive globally to suppress this message 2026-01-22 11:27:44.056825+00:00[Thu Jan 22 19:27:44.056640 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.66 (Debian) PHP/8.3.30 configured -- resuming normal operations 2026-01-22 11:27:44.056898+00:00[Thu Jan 22 19:27:44.056722 2026] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND' 2026-01-22 11:27:45.730295+00:00127.0.0.1 - - [22/Jan/2026:19:27:45 +0800] "GET /status.php HTTP/1.1" 200 1063 "-" "curl/8.14.1" 2026-01-22 11:27:46.271299+00:00192.168.1.1 - - [22/Jan/2026:19:27:44 +0800] "OPTIONS / HTTP/1.0" 503 0 "-" "-" 2026-01-22 11:27:46.611781+00:00192.168.1.1 - - [22/Jan/2026:19:27:46 +0800] "OPTIONS / HTTP/1.0" 503 32965 "-" "-" 2026-01-22 11:27:47.970077+00:00192.168.1.1 - - [22/Jan/2026:19:27:47 +0800] "OPTIONS / HTTP/1.0" 503 32975 "-" "-" 2026-01-22 11:27:49.282616+00:00192.168.1.1 - - [22/Jan/2026:19:27:48 +0800] "OPTIONS / HTTP/1.0" 503 32971 "-" "-" 2026-01-22 11:27:50.682251+00:00192.168.1.1 - - [22/Jan/2026:19:27:50 +0800] "OPTIONS / HTTP/1.0" 503 32971 "-" "-"
The solution is: sudo docker exec -it e9438cfc3eea sh # php occ upgrade Nextcloud is in maintenance mode, no apps are loaded. Commands provided by apps are unavailable. Nextcloud is in maintenance mode Maybe an upgrade is already in process. Please check the logfile (data/nextcloud.log). If you want to re-run the upgrade procedure, remove the "maintenance mode" from config.php and call this script again. # php occ maintenance:mode --off Maintenance mode disabled # php occ upgrade No upgrade required.
Application Name:nextcloudContainer ID:1f6482aeb7f5632a603610ae84d117277a6fa6e37733a367f0ae6d56bfa80c26 2026-01-22 11:27:37.019381+00:00Configuring Redis as session handler 2026-01-22 11:27:37.407477+00:00Warning: /var/www/html/config/redis.config.php differs from the latest version of this image at /usr/src/nextcloud/config/redis.config.php 2026-01-22 11:27:37.411800+00:00Warning: /var/www/html/config/reverse-proxy.config.php differs from the latest version of this image at /usr/src/nextcloud/config/reverse-proxy.config.php 2026-01-22 11:27:37.415816+00:00Warning: /var/www/html/config/s3.config.php differs from the latest version of this image at /usr/src/nextcloud/config/s3.config.php 2026-01-22 11:27:37.419405+00:00Warning: /var/www/html/config/smtp.config.php differs from the latest version of this image at /usr/src/nextcloud/config/smtp.config.php 2026-01-22 11:27:37.427170+00:00=> Searching for hook scripts (*.sh) to run, located in the folder "/docker-entrypoint-hooks.d/before-starting" 2026-01-22 11:27:37.432297+00:00==> Running the script (cwd: /var/www/html): "/docker-entrypoint-hooks.d/before-starting/ix-update-hosts-script.sh" 2026-01-22 11:27:37.458458+00:00Updating database and redis host in config.php 2026-01-22 11:27:38.270344+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:38.270467+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:38.280614+00:00System config value redis => host set to string redis 2026-01-22 11:27:38.308870+00:00==> Finished executing the script: "/docker-entrypoint-hooks.d/before-starting/ix-update-hosts-script.sh" 2026-01-22 11:27:38.309646+00:00==> Running the script (cwd: /var/www/html): "/docker-entrypoint-hooks.d/before-starting/ix-update-trusted-domains-script.sh" 2026-01-22 11:27:38.330937+00:00Updating trusted domains. It will append new domains to the existing list. 2026-01-22 11:27:38.331027+00:00If you see a domain that is not longer valid, you need to manually remove it from the list in the config.php file. 2026-01-22 11:27:39.005698+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:39.005792+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:39.665224+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:39.665301+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:39.672929+00:00System config value trusted_domains deleted 2026-01-22 11:27:40.508083+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:40.508607+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:40.521488+00:00System config value trusted_domains => 0 set to string 127.0.0.1 2026-01-22 11:27:41.455866+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:41.455980+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:41.465707+00:00System config value trusted_domains => 1 set to string 192.168.1.158 2026-01-22 11:27:42.288729+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:42.288818+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:42.297708+00:00System config value trusted_domains => 2 set to string 192.168.1.158:9002 2026-01-22 11:27:43.136640+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:43.136738+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:43.147585+00:00System config value trusted_domains => 3 set to string localhost 2026-01-22 11:27:43.821598+00:00Nextcloud is in maintenance mode, no apps are loaded. 2026-01-22 11:27:43.821672+00:00Commands provided by apps are unavailable. 2026-01-22 11:27:43.827142+00:00System config value trusted_domains => 4 set to string nextcloud 2026-01-22 11:27:43.845482+00:00==> Finished executing the script: "/docker-entrypoint-hooks.d/before-starting/ix-update-trusted-domains-script.sh" 2026-01-22 11:27:43.845608+00:00=> Completed executing scripts in the "before-starting" folder 2026-01-22 11:27:43.901133+00:00AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using fdd0:0:0:e::4. Set the 'ServerName' directive globally to suppress this message 2026-01-22 11:27:43.927778+00:00AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using fdd0:0:0:e::4. Set the 'ServerName' directive globally to suppress this message 2026-01-22 11:27:44.056825+00:00[Thu Jan 22 19:27:44.056640 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.66 (Debian) PHP/8.3.30 configured -- resuming normal operations 2026-01-22 11:27:44.056898+00:00[Thu Jan 22 19:27:44.056722 2026] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND' 2026-01-22 11:27:45.730295+00:00127.0.0.1 - - [22/Jan/2026:19:27:45 +0800] "GET /status.php HTTP/1.1" 200 1063 "-" "curl/8.14.1" 2026-01-22 11:27:46.271299+00:00192.168.1.1 - - [22/Jan/2026:19:27:44 +0800] "OPTIONS / HTTP/1.0" 503 0 "-" "-" 2026-01-22 11:27:46.611781+00:00192.168.1.1 - - [22/Jan/2026:19:27:46 +0800] "OPTIONS / HTTP/1.0" 503 32965 "-" "-" 2026-01-22 11:27:47.970077+00:00192.168.1.1 - - [22/Jan/2026:19:27:47 +0800] "OPTIONS / HTTP/1.0" 503 32975 "-" "-" 2026-01-22 11:27:49.282616+00:00192.168.1.1 - - [22/Jan/2026:19:27:48 +0800] "OPTIONS / HTTP/1.0" 503 32971 "-" "-" 2026-01-22 11:27:50.682251+00:00192.168.1.1 - - [22/Jan/2026:19:27:50 +0800] "OPTIONS / HTTP/1.0" 503 32971 "-" "-"
The solution is: sudo docker exec -it e9438cfc3eea sh # php occ upgrade Nextcloud is in maintenance mode, no apps are loaded. Commands provided by apps are unavailable. Nextcloud is in maintenance mode Maybe an upgrade is already in process. Please check the logfile (data/nextcloud.log). If you want to re-run the upgrade procedure, remove the "maintenance mode" from config.php and call this script again. # php occ maintenance:mode --off Maintenance mode disabled # php occ upgrade No upgrade required.
Tuesday, 2 December 2025
Issue with Truenas apps - Failed to umount dataset: cannot unmount ‘/mnt/.ix-apps'
See the link:
https://serverfault.com/questions/1192547/how-to-ensure-truenas-runs-a-docker-service '/mnt/.ix-apps/docker # 0) Define canonical variables for this session (avoid typos) export POOL="tank01" # Purpose: the zpool name export DATASET="${POOL}/ix-apps/docker" # Purpose: ZFS dataset to unmount/fix export MOUNTPOINT="/mnt/.ix-apps/docker" # Purpose: kernel/systemd mount target export UNIT="$(systemd-escape -p "${MOUNTPOINT}").mount" # Purpose: owning systemd .mount unit echo "$POOL | $DATASET | $MOUNTPOINT | $UNIT" # 1) Ensure nothing will respawn Docker while fixing mounts # Purpose: prevent busy mounts and reactivation while middleware resets Apps/Docker systemctl disable --now docker.service docker.socket containerd.service || true systemctl mask docker.service docker.socket containerd.service || true # 2) Tell ZFS to NEVER automount this child until handing control to TrueNAS # Purpose: canmount=off stops zfs/systemd from recreating the mount on boot or import zfs set canmount=off "${DATASET}" zfs get canmount "${DATASET}" # 3) Stop/Mask the owning systemd mount unit # Purpose: keep systemd from pinning the path & masking prevents future jobs systemctl stop "${UNIT}" || true systemctl mask "${UNIT}" || true systemctl status "${UNIT}" --no-pager || true # 4) Unmount robustly (deepest-first), then verify # purpose: clear the kernel mount table entry once and for all /bin/umount -l "${MOUNTPOINT}" || true # helper available on many SCALE builds; harmless if absent command -v /sbin/umount.zfs && /sbin/umount.zfs "${MOUNTPOINT}" || true # If the child still shows mounted, unmount the *parent* tree and remount only parent if findmnt --target "${MOUNTPOINT}" >/dev/null 2>&1; then zfs unmount -f "${POOL}/ix-apps" || true zfs mount -O "${POOL}/ix-apps" || true # -O mounts parent only; child stays off due to canmount=off fi # Verify state findmnt --target "${MOUNTPOINT}" || echo "not mounted" # 5) Hand control back to TrueNAS Apps # purpose: re-register docker service in middleware & seed /mnt/.ix-apps/docker/* # UI path: Apps -> Settings -> Unset Pool -> (succeeds now) -> Choose Pool -> select "data"
https://serverfault.com/questions/1192547/how-to-ensure-truenas-runs-a-docker-service '/mnt/.ix-apps/docker # 0) Define canonical variables for this session (avoid typos) export POOL="tank01" # Purpose: the zpool name export DATASET="${POOL}/ix-apps/docker" # Purpose: ZFS dataset to unmount/fix export MOUNTPOINT="/mnt/.ix-apps/docker" # Purpose: kernel/systemd mount target export UNIT="$(systemd-escape -p "${MOUNTPOINT}").mount" # Purpose: owning systemd .mount unit echo "$POOL | $DATASET | $MOUNTPOINT | $UNIT" # 1) Ensure nothing will respawn Docker while fixing mounts # Purpose: prevent busy mounts and reactivation while middleware resets Apps/Docker systemctl disable --now docker.service docker.socket containerd.service || true systemctl mask docker.service docker.socket containerd.service || true # 2) Tell ZFS to NEVER automount this child until handing control to TrueNAS # Purpose: canmount=off stops zfs/systemd from recreating the mount on boot or import zfs set canmount=off "${DATASET}" zfs get canmount "${DATASET}" # 3) Stop/Mask the owning systemd mount unit # Purpose: keep systemd from pinning the path & masking prevents future jobs systemctl stop "${UNIT}" || true systemctl mask "${UNIT}" || true systemctl status "${UNIT}" --no-pager || true # 4) Unmount robustly (deepest-first), then verify # purpose: clear the kernel mount table entry once and for all /bin/umount -l "${MOUNTPOINT}" || true # helper available on many SCALE builds; harmless if absent command -v /sbin/umount.zfs && /sbin/umount.zfs "${MOUNTPOINT}" || true # If the child still shows mounted, unmount the *parent* tree and remount only parent if findmnt --target "${MOUNTPOINT}" >/dev/null 2>&1; then zfs unmount -f "${POOL}/ix-apps" || true zfs mount -O "${POOL}/ix-apps" || true # -O mounts parent only; child stays off due to canmount=off fi # Verify state findmnt --target "${MOUNTPOINT}" || echo "not mounted" # 5) Hand control back to TrueNAS Apps # purpose: re-register docker service in middleware & seed /mnt/.ix-apps/docker/* # UI path: Apps -> Settings -> Unset Pool -> (succeeds now) -> Choose Pool -> select "data"
Thursday, 16 October 2025
Setting up Nextcloud with Office
This is the ultimate guide:
https://forums.truenas.com/t/a-full-guide-for-installing-nextcloud-on-truenas-scale-with-collabora-integration-and-outside-access-through-nginx-proxy-manager/5874 What solved for me was to set Server Name with the port number :443 (see the guide above).
https://forums.truenas.com/t/a-full-guide-for-installing-nextcloud-on-truenas-scale-with-collabora-integration-and-outside-access-through-nginx-proxy-manager/5874 What solved for me was to set Server Name with the port number :443 (see the guide above).
Monday, 25 August 2025
TP Link Router Login
https://www.tp-link.com/sg/support/faq/4370/
. Try the following common default passwords as per your region & provider:
Country
ISP/Model
Common Default Passwords
Australia
All
admin
ACT
act@123
AGL
support180
Amaysim
admin1/admin1
Australia Post Broadband
apbroadband$
Mate
mate12345
Spintel
admin1
On the Net
otn230
New Zealand
Contact (HX510)
password1
Megatel(HX510)
ax3000
Singapore
HB serials
GUI password printed on the bottom
StarHub (Except HB710)
StarHub@1234
Starhub@1234
starhub@1234
StarHub@123
wireless password printed on the bottom
Other
admin1234!
tplink1234
tplink123
admin1234
Qawsed1234
Admin@1234
Thursday, 17 July 2025
Error when updating Truenas apps - You have reached your unauthenticated pull rate limit
If you get this error:
18 10:21:29] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' action for 'n8n' app: n8n Pulling n8n Error toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit Error response from daemon: toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit Put your authentication:
admin@truenas[/]$ sudo docker login --username=
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credential-stores
Login Succeeded
See this: https://stackoverflow.com/questions/65806330/toomanyrequests-you-have-reached-your-pull-rate-limit-you-may-increase-the-lim
18 10:21:29] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' action for 'n8n' app: n8n Pulling n8n Error toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit Error response from daemon: toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit Put your authentication:
admin@truenas[/]$ sudo docker login --username=
Thursday, 3 July 2025
Running self-hosted nexus3 as docker
Here are 2 good links to run on truenas (different approach) - I used the second one via docker compose.
1. https://blog.joeplaa.com/sonatype-nexus-oss-repository/
2. https://medium.com/@chiemelaumeh1/install-sonatype-nexus-3-using-docker-compose-setup-nexus-repository-manager-for-node-js-project-47a3c5efe1ee
Monday, 9 June 2025
Apps missing in Truenas
What you do is to : "Unset Pool" and then "Choose Pool".
The apps should re-apprear. If not, reboot the server and try again.
Sunday, 3 November 2024
No release versions available, please check subscriptions.
See this post:
https://access.redhat.com/solutions/7001841 yum update subscription-manager Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 304 B/s | 466 B 00:01 Errors during downloading metadata for repository 'rhel-8-for-x86_64-appstream-rpms': - Status code: 403 for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os/repodata/repomd.xml (IP: 23.15.248.251) Error: Failed to download metadata for repo 'rhel-8-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried [root@sbidemo yum.repos.d]# subscription-manager release --unset Release preference has been unset [root@sbidemo yum.repos.d]# [root@sbidemo yum.repos.d]# subscription-manager refresh 1 local certificate has been deleted. All local data refreshed [root@sbidemo yum.repos.d]# yum clean all Updating Subscription Management repositories. 78 files removed [root@sbidemo yum.repos.d]# yum update subscription-manager Updating Subscription Management repositories. LocalRepository_BaseOS 3.4 MB/s | 2.4 MB 00:00 LocalRepository_AppStream 6.0 MB/s | 8.1 MB 00:01 MariaDB Server 191 kB/s | 826 kB 00:04 MariaDB MaxScale 1.7 kB/s | 7.0 kB 00:04 MariaDB Tools 2.6 kB/s | 4.3 kB 00:01 MongoDB Repository 59 kB/s | 102 kB 00:01 packages-microsoft-com-prod 5.8 MB/s | 13 MB 00:02 packages-microsoft-com-mssql-server-2019 3.5 MB/s | 5.5 MB 00:01 Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 7.8 MB/s | 68 MB 00:08 Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 7.4 MB/s | 74 MB 00:09 Last metadata expiration check: 0:00:01 ago on Sun 03 Nov 2024 03:23:03 PM +08. Dependencies resolved. ========================================================================================================================================================================================================== Package Architecture Version Repository Size ========================================================================================================================================================================================================== Upgrading: dnf-plugin-subscription-manager x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 326 k python3-cloud-what x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 325 k python3-subscription-manager-rhsm x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 404 k python3-syspurpose x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 342 k subscription-manager x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 1.2 M Transaction Summary ========================================================================================================================================================================================================== Upgrade 5 Packages Total download size: 2.5 M Is this ok [y/N]: y Downloading Packages: (1/5): python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64.rpm 848 kB/s | 404 kB 00:00 (2/5): dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64.rpm 545 kB/s | 326 kB 00:00 (3/5): python3-cloud-what-1.28.42-1.el8.x86_64.rpm 444 kB/s | 325 kB 00:00 (4/5): python3-syspurpose-1.28.42-1.el8.x86_64.rpm 966 kB/s | 342 kB 00:00 (5/5): subscription-manager-1.28.42-1.el8.x86_64.rpm 2.7 MB/s | 1.2 MB 00:00 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 2.4 MB/s | 2.5 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: python3-cloud-what-1.28.42-1.el8.x86_64 1/1 Upgrading : python3-cloud-what-1.28.42-1.el8.x86_64 1/10 Upgrading : python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64 2/10 Upgrading : python3-syspurpose-1.28.42-1.el8.x86_64 3/10 Upgrading : dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64 4/10 Running scriptlet: subscription-manager-1.28.42-1.el8.x86_64 5/10 Upgrading : subscription-manager-1.28.42-1.el8.x86_64 5/10 Running scriptlet: subscription-manager-1.28.42-1.el8.x86_64 5/10 Running scriptlet: subscription-manager-1.28.36-2.el8.x86_64 6/10 Cleanup : subscription-manager-1.28.36-2.el8.x86_64 6/10 Running scriptlet: subscription-manager-1.28.36-2.el8.x86_64 6/10 Cleanup : python3-syspurpose-1.28.36-2.el8.x86_64 7/10 Cleanup : python3-subscription-manager-rhsm-1.28.36-2.el8.x86_64 8/10 Cleanup : python3-cloud-what-1.28.36-2.el8.x86_64 9/10 Cleanup : dnf-plugin-subscription-manager-1.28.36-2.el8.x86_64 10/10 Running scriptlet: dnf-plugin-subscription-manager-1.28.36-2.el8.x86_64 10/10 /sbin/ldconfig: /lib64/libmaodbc.so is not a symbolic link Verifying : dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64 1/10 Verifying : dnf-plugin-subscription-manager-1.28.36-2.el8.x86_64 2/10 Verifying : python3-cloud-what-1.28.42-1.el8.x86_64 3/10 Verifying : python3-cloud-what-1.28.36-2.el8.x86_64 4/10 Verifying : python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64 5/10 Verifying : python3-subscription-manager-rhsm-1.28.36-2.el8.x86_64 6/10 Verifying : python3-syspurpose-1.28.42-1.el8.x86_64 7/10 Verifying : python3-syspurpose-1.28.36-2.el8.x86_64 8/10 Verifying : subscription-manager-1.28.42-1.el8.x86_64 9/10 Verifying : subscription-manager-1.28.36-2.el8.x86_64 10/10 Installed products updated. Upgraded: dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64 python3-cloud-what-1.28.42-1.el8.x86_64 python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64 python3-syspurpose-1.28.42-1.el8.x86_64 subscription-manager-1.28.42-1.el8.x86_64 Complete! [root@sbidemo yum.repos.d]# subscription-manager release --set=8.4 Release set to: 8.4 [root@sbidemo yum.repos.d]# subscription-manager refresh All local data refreshed [root@sbidemo yum.repos.d]# yum clean all Updating Subscription Management repositories. 62 files removed [root@sbidemo yum.repos.d]# subscription-manager repos --enable=rhel-8-for-x86_64-baseos-e4s-rpms \ > --enable=rhel-8-for-x86_64-appstream-e4s-rpms Repository 'rhel-8-for-x86_64-baseos-e4s-rpms' is enabled for this system. Repository 'rhel-8-for-x86_64-appstream-e4s-rpms' is enabled for this system
https://access.redhat.com/solutions/7001841 yum update subscription-manager Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 304 B/s | 466 B 00:01 Errors during downloading metadata for repository 'rhel-8-for-x86_64-appstream-rpms': - Status code: 403 for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os/repodata/repomd.xml (IP: 23.15.248.251) Error: Failed to download metadata for repo 'rhel-8-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried [root@sbidemo yum.repos.d]# subscription-manager release --unset Release preference has been unset [root@sbidemo yum.repos.d]# [root@sbidemo yum.repos.d]# subscription-manager refresh 1 local certificate has been deleted. All local data refreshed [root@sbidemo yum.repos.d]# yum clean all Updating Subscription Management repositories. 78 files removed [root@sbidemo yum.repos.d]# yum update subscription-manager Updating Subscription Management repositories. LocalRepository_BaseOS 3.4 MB/s | 2.4 MB 00:00 LocalRepository_AppStream 6.0 MB/s | 8.1 MB 00:01 MariaDB Server 191 kB/s | 826 kB 00:04 MariaDB MaxScale 1.7 kB/s | 7.0 kB 00:04 MariaDB Tools 2.6 kB/s | 4.3 kB 00:01 MongoDB Repository 59 kB/s | 102 kB 00:01 packages-microsoft-com-prod 5.8 MB/s | 13 MB 00:02 packages-microsoft-com-mssql-server-2019 3.5 MB/s | 5.5 MB 00:01 Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 7.8 MB/s | 68 MB 00:08 Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 7.4 MB/s | 74 MB 00:09 Last metadata expiration check: 0:00:01 ago on Sun 03 Nov 2024 03:23:03 PM +08. Dependencies resolved. ========================================================================================================================================================================================================== Package Architecture Version Repository Size ========================================================================================================================================================================================================== Upgrading: dnf-plugin-subscription-manager x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 326 k python3-cloud-what x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 325 k python3-subscription-manager-rhsm x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 404 k python3-syspurpose x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 342 k subscription-manager x86_64 1.28.42-1.el8 rhel-8-for-x86_64-baseos-rpms 1.2 M Transaction Summary ========================================================================================================================================================================================================== Upgrade 5 Packages Total download size: 2.5 M Is this ok [y/N]: y Downloading Packages: (1/5): python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64.rpm 848 kB/s | 404 kB 00:00 (2/5): dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64.rpm 545 kB/s | 326 kB 00:00 (3/5): python3-cloud-what-1.28.42-1.el8.x86_64.rpm 444 kB/s | 325 kB 00:00 (4/5): python3-syspurpose-1.28.42-1.el8.x86_64.rpm 966 kB/s | 342 kB 00:00 (5/5): subscription-manager-1.28.42-1.el8.x86_64.rpm 2.7 MB/s | 1.2 MB 00:00 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 2.4 MB/s | 2.5 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: python3-cloud-what-1.28.42-1.el8.x86_64 1/1 Upgrading : python3-cloud-what-1.28.42-1.el8.x86_64 1/10 Upgrading : python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64 2/10 Upgrading : python3-syspurpose-1.28.42-1.el8.x86_64 3/10 Upgrading : dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64 4/10 Running scriptlet: subscription-manager-1.28.42-1.el8.x86_64 5/10 Upgrading : subscription-manager-1.28.42-1.el8.x86_64 5/10 Running scriptlet: subscription-manager-1.28.42-1.el8.x86_64 5/10 Running scriptlet: subscription-manager-1.28.36-2.el8.x86_64 6/10 Cleanup : subscription-manager-1.28.36-2.el8.x86_64 6/10 Running scriptlet: subscription-manager-1.28.36-2.el8.x86_64 6/10 Cleanup : python3-syspurpose-1.28.36-2.el8.x86_64 7/10 Cleanup : python3-subscription-manager-rhsm-1.28.36-2.el8.x86_64 8/10 Cleanup : python3-cloud-what-1.28.36-2.el8.x86_64 9/10 Cleanup : dnf-plugin-subscription-manager-1.28.36-2.el8.x86_64 10/10 Running scriptlet: dnf-plugin-subscription-manager-1.28.36-2.el8.x86_64 10/10 /sbin/ldconfig: /lib64/libmaodbc.so is not a symbolic link Verifying : dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64 1/10 Verifying : dnf-plugin-subscription-manager-1.28.36-2.el8.x86_64 2/10 Verifying : python3-cloud-what-1.28.42-1.el8.x86_64 3/10 Verifying : python3-cloud-what-1.28.36-2.el8.x86_64 4/10 Verifying : python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64 5/10 Verifying : python3-subscription-manager-rhsm-1.28.36-2.el8.x86_64 6/10 Verifying : python3-syspurpose-1.28.42-1.el8.x86_64 7/10 Verifying : python3-syspurpose-1.28.36-2.el8.x86_64 8/10 Verifying : subscription-manager-1.28.42-1.el8.x86_64 9/10 Verifying : subscription-manager-1.28.36-2.el8.x86_64 10/10 Installed products updated. Upgraded: dnf-plugin-subscription-manager-1.28.42-1.el8.x86_64 python3-cloud-what-1.28.42-1.el8.x86_64 python3-subscription-manager-rhsm-1.28.42-1.el8.x86_64 python3-syspurpose-1.28.42-1.el8.x86_64 subscription-manager-1.28.42-1.el8.x86_64 Complete! [root@sbidemo yum.repos.d]# subscription-manager release --set=8.4 Release set to: 8.4 [root@sbidemo yum.repos.d]# subscription-manager refresh All local data refreshed [root@sbidemo yum.repos.d]# yum clean all Updating Subscription Management repositories. 62 files removed [root@sbidemo yum.repos.d]# subscription-manager repos --enable=rhel-8-for-x86_64-baseos-e4s-rpms \ > --enable=rhel-8-for-x86_64-appstream-e4s-rpms Repository 'rhel-8-for-x86_64-baseos-e4s-rpms' is enabled for this system. Repository 'rhel-8-for-x86_64-appstream-e4s-rpms' is enabled for this system
Subscribe to:
Posts (Atom)