NextCloud internal error when accessing form Internet public IP bi fine on LAN

Recently I built NextCLoud on my  OpenMediavault. I will post that story later. I am using reverse proxy manager. while accessing NextCloud, using Local IP or LAN IP, everything is fine but when I try to run NextLoud from my ISP dynamic public IP using Ngnix reverse proxy manager,  post login files section failing with Internal server error;

The direct fix is :
‘trusted_proxies’ =>
array (
0 => ‘your proxy-local-IP,
1 => ‘you-Intenet--public-IP,

to config/config.php in the NextCloud dokcer.

Categorized as docker

Fatal error: Allowed memory size of 2097152 bytes exhausted Fatal error:

Fatal error: Allowed memory size of 2097152 bytes exhausted. Allowed memory size of 2097152 bytes exhausted this is a common error while trying to run PHP cron jobs in docker versions of nextcloud. Maybe for some other Lets focus on NextCloud.

Recently while building NAS on a laptop, I faced this issue.

A quick fix is to try to run the job from the Docker host instead of within the Docker. Just it is a workaround, not a complete solution.

/usr/bin/docker exec homecloud_app_1 su - www-data -s /bin/bash -c 'PHP_MEMORY_LIMIT=-1 php -f /var/www/html/occ files:scan --all'

how to enable Full text PDF OCR search and partial word search OpenMediaVault

In our LAPTOP to NAS series we sucessefully converted our old laptop to a small  NAS without spending much.

Now added functionality series, let’s check about real good addons to Openmediavault NAS for free. Full file search along with pdfs is a must-have feature for most of us.

What is a Full-text search along with a PDF search with OCR.?

When you are NAS keep on filling and one day you want to retrieve some text from the backup file. The problem is you dint remember the file name or file type.

How you retrieve data by what you remember are a few keywords Full-text search along with PDF search will come in to picture to rescue. It searches file contents of type txt and pdfs for keywords and list them to you.l Wonderful?

How to enable Full-text search along with pdf file search with partial words search for free.

Step 1: Assumptions: OMV 5. x along with DOcket and portainer.

with combination Apache Tika and elasticsearch  in docker version will achieve this with FileRun. It is self-hosted file sharing and multi-device device sync software.

Step 2: Docker-Compose file for FileRun to deploy on Openmediavault

version: ‘2’

image: mariadb:10.1
MYSQL_USER: yourusername
MYSQL_PASSWORD: yourpassword
MYSQL_DATABASE: yourdbname
– /yourpath/:/var/lib/mysql
image: filerun/filerun
FR_DB_PORT: 3306
FR_DB_NAME: yourname
FR_DB_USER: yourname
FR_DB_PASS: yourpass
– db
– db
– tika
– elasticsearch
– “8083:80”
– /yourpath/l:/var/www/html
– /yourpath/:/user-files
image: logicalspark/docker-tikaserver
container_name: elasticsearch
– bootstrap.memory_lock=true
– “ES_JAVA_OPTS=-Xms512m -Xmx512m”
soft: -1
hard: -1
mem_limit: 1g
– /syourpathh:/usr/share/elasticsearch/data

Before you start up containers, grant access 1000:1000 on server OS path mentioned in compose file yourpath/l:/var/www/html
else the container will crash. It may be fixed in the next release.
Now login to FileRUn -> control panel – enable full txt and ocr search. You are ready to go. don’t forget to enable index cron in web container.

*/2 * * * * /var/www/html/cron/

Enable Full Text search, pdf search along with partial word search in open media vault

How to install wireGuard VPN in client mode Oracle Linux 7

Recently  part of NAS on LAPOTP project, enabled wireGUard VPN server  to connect my LAN from internet.

So to the check the functionality on various Operating Systems and devices, tested wireguard VPN in client mode on Android mobile and Windows Desktop.

Now its time install Wire Guard VPN in client mode on Oracle Linux 7. Here are the steps.

# yum install oraclelinux-developer-release-el7
# yum-config-manager --disable ol7_developer
# yum-config-manager --enable ol7_developer_UEKR6
# yum-config-manager --save --setopt=ol7_developer_UEKR6.includepkgs='wireguard-tools*'
# yum install wireguard-tools

now time to create conf file.

root@localhost nas]# vi /etc/wireguard/wg0.conf
[root@localhost nas]# wg-quick up wg0

This conf file you will get from  server with show-peer command.
This is for client mode only. Next post will share server install.

TerraForm Lab ready now how to learn TerraForm

Hi, I am Mr LinuxSME wants to become TeeraForm SME. So started this TerraForm SME series.

Now I set up TerraForm OCI Lab with help of a great Google search. Thanks to all contributors. The lab setup is easy anyone can do. Now the real thing is how to learn TerraForm and teach all of you. It’s a learning and share series.

To add authentication and streamline, I am targeting Terraform associate certification. So by end of this TerraForm certification guide, I must complete Terraform certification. If I am able to then any novice can do. This TerraForm series is the runbook of my attempt to complete Terrafor certification.

A lot of information is available about TerraForm. I need to select which one to start. At least I am going through any one of Terraform tutorials avaialbe Google, I will get the overall picture. Later I can drill down the key topics.

Tonight I will try to complete any one source to complete. Hope Tomorrow I can share the road map. for TerraForm SME course.



TerraForm lab setup with OCI learn once manager multi-vendor clouds.

In our TerraForm SME series

Today we will check on how to set up connectivity with TerraForm and OCI. One thing to note, to complete TerraForm certification no need to have much knowledge about cloud providers. The main focus will be the concepts of TerraForm. The same concepts will apply to all Cloud providers. It is the one best feature. TerraForm learn once, manage multi-vendor cloud platform

How to set up TerraForm Lab  Oracle Cloud or OCI?

TerrafForm  -> Authentication method -> Connect to cloud.

Same for all Cloud providers. The authentication part varies from cloud to cloud. Now let’s see the sample authentication part for OCI. OCI supports 3 types of authentication types for TerraForm. Let’s see API key-based Authentication method.

OCI TerraForm sample authentication file to connect TerraForm to OCI.

[tf@localhost .oci]$ ls
lab.pem lab_public.pem terraform.tfstate terraform.tfstate.backup
[tf@localhost .oci]$ cat
provider "oci" {
tenancy_ocid = "ocid1.tenancy.oc1..yourocid"
user_ocid = "ocid1.user.oc1..yourocid"
private_key_path = "/home/tf/.oci/lab.pem"
fingerprint = "bb:79:your OCI fingerprint vaule "
region = "us-ashburn-1"


Provider authentication details you can mention in the same .tf file as you going to use or r separate file like above.

Now let’s check our connectivity with OCI using TerraForm with the following sample .tf. It lists the current image id available on OCI for OS Oracle 7.

Leets place the following code in
[tf@localhost .oci]$ cat
# get latest CentOS 7 image
data "oci_core_images" "centos-7" {
compartment_id = "ocid1.compartment.oc1..your oCID"
operating_system = "CentOS"
operating_system_version = "7"
sort_by = "TIMECREATED"
sort_order = "DESC"
output "centos-7-latest-name" {
value = data.oci_core_images.centos-7.images.0.display_name
output "centos-7-latest-id" {
value =

Now run commands

1. terraform init

2. terraform  plan

3. terraform  apply

These are common for all cloud providers. We will learn about it in the next lesson. Our goal is to check Lab connections.

TerraForm certification lab setup
TerraForm OCI lab setup

Now we are able to connect TerraForm with OCI. Now all set. Next, we will start our TerraForm SME certification lesson number one.

How to access Win 10 SMB NAS shares offline even network is disconnected

Many times, we will face this issue. When you connected to a VPN like CISCO VPN it disables all local LAN access. Sometimes while editing files on remote SMB shares, network disconnection happens.

Windows 10 provides a good feature called “always available offline” for remote SMB shares. When you enable it, you can access files on SMB network shares even network is disconnected or too slow. It’s automatic. How does Windows 10 “always available offline” works?

It uses Windows 10 SYNC centre. it uses some space on your hard disk and stores files on it. When the network is restored, it will sync to the NAS drive.

Sample user case:

How to use openmediavault nas share when office VPN connected

Categorized as Linux

Hashicorp TerraForm associate exam dump and cost

Hashicorp Terraform associate exam dumps are related to Hashicorp certified terraform associates.
TerraForm associate exam is online and multiple choice based. terraform certification training is free.

Hashicorp is offering study material and software for free. LinuxSME offers to terraform associate certification training without any cost. The dump concept is of no use. Just having a certified badge has no use in the current industry. Product knowledge and implementation are required.

Searching Hashicorp certified terraform associate exam dumps is waste of time. Every day if you spend and within 15 days, you can get considerable knowledge of TerraForm to clear the certification. Once you clear certification without dumps – you can sense confidence which you cant buy with Money.

Passing Terraform associate certification with dumps is equal to having a driving license but without knowing how to drive a car. so let’s learn together using our terraform training and certification guide.

How to prepare for TerraForm certification? no cost TF certification guide

TerraForm SME  tutorial series, we follow the TerraForm certification path. our TerraForm associate certification guide will be free.

What is TerraForm certification? how to pass TerraForm certification exam with
terraform exam guide?

To demonstrate subject knowledge and improve confidence TerraForm associate certification is the best way. On line based and relative cheap. $70 on this date.

In our TerraForm tutorial series, will follow the certification learning path.

How much time it will take to prepare for TerraForm associate Certificate?

It depends upon the person and the time he/She can spare. 1 month time, per day 2 hrs practice will do good. Our TerraForm certification preparation guide is real-time learning-based. Mr LinyxSME will learn and present you. Mr LinuxSME goal is to achieve TF certification in 1 month.

So keep an eye on our TerraForm tutorial page 

How to setup TerraForm Lab on your PC or NAS in less than 5 mins

In our how to become TerraForm SME tutorial series, today let’s see about Lab setup.  TerraForm lab setup on PC or NAS is very simple.

TerraForm is very easy to set up the software. It can run any platform. For our TerraForm SME course, I will use Oracle Linux 7.9 on a VMware workstation.  For you no need to have any VM or dedicated box for TF.  You can install it on your Windows or MAC desktop.

Oracle Linux 7.9 installation steps:

sudo yum install -y yum-utils
sudo yum-config-manager --add-repo
sudo yum -y install terraform

[root@localhost ~]# terraform -version

Terraform v1.1.2

on linux_amd64

Which IDE is best for developing TerraForm scripts?

You can use your windows notepad or vi for Linux. But complex TF scripts, I will prefer ATOM or VS code. Both are free. You need to enable TerraForm plugin to start developing  TF scripts.


Exit mobile version