Hi,

Further to my previous email, I am running the below mentioned mysql server
on Ubuntu 24.04.2 LTS Linux OS

# mysql --version
mysql  Ver 8.0.41-0ubuntu0.24.04.1 for Linux on x86_64 ((Ubuntu))

# systemctl status mysql
● mysql.service - MySQL Community Server
     Loaded: loaded (/usr/lib/systemd/system/mysql.service; enabled;
preset: enabled)
     Active: active (running) since Sun 2025-04-27 16:22:43 IST; 24h ago
   Main PID: 68967 (mysqld)
     Status: "Server is operational"
      Tasks: 38 (limit: 13923)
     Memory: 28.1M (peak: 378.9M swap: 348.3M swap peak: 349.4M)
        CPU: 46min 22.751s
     CGroup: /system.slice/mysql.service
             └─68967 /usr/sbin/mysqld

Apr 27 16:22:37 ubuntu-01 systemd[1]: Starting mysql.service - MySQL
Community Server...
Apr 27 16:22:43 ubuntu-01 systemd[1]: Started mysql.service - MySQL
Community Server.
#

#mysql -u root -p

Then inside MySQL shell:
-- Create the tenants management database
mysql> CREATE DATABASE fineract_tenants;

-- Create the default tenant database
mysql> CREATE DATABASE fineract_default;

-- Create user and grant access
mysql> CREATE USER 'fineract'@'localhost' IDENTIFIED BY 'fineract';

-- Give permissions
mysql> GRANT ALL PRIVILEGES ON fineract_tenants.* TO 'fineract'@'localhost';
mysql> GRANT ALL PRIVILEGES ON fineract_default.* TO 'fineract'@'localhost';

-- Apply changes
mysql> FLUSH PRIVILEGES;

# mysql -h localhost -u fineract -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 16
Server version: 8.0.41-0ubuntu0.24.04.1 (Ubuntu)

Copyright (c) 2000, 2025, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| fineract_default   |
| fineract_tenants   |
| information_schema |
| performance_schema |
+--------------------+
4 rows in set (0.04 sec)

mysql>
#

Please let me know if you need any additional details.

Thanks in advance.

Best regards,

Kaushal




On Mon, Apr 28, 2025 at 3:33 PM Kaushal Shriyan <kaushalshri...@gmail.com>
wrote:

> Hi Adam,
>
> I ran the following commands:
>
> $ ./gradlew :fineract-provider:bootJar -x test --info > build.log 2>&1
>
>   • Output: https://termbin.com/b85l
>
> $ java -jar
> fineract-provider/build/libs/fineract-provider-1.12.0-SNAPSHOT.jar
>
>   • Output: https://termbin.com/9hj6
>
> $ cat
> /opt/fineract/fineract-provider/src/main/resources/application.properties
>
>   • Output: https://termbin.com/g1gp
>
>
> $ cat /etc/os-release
> PRETTY_NAME="Ubuntu 24.04.2 LTS"
> NAME="Ubuntu"
> VERSION_ID="24.04"
> VERSION="24.04.2 LTS (Noble Numbat)"
> VERSION_CODENAME=noble
> ID=ubuntu
> ID_LIKE=debian
> HOME_URL="https://www.ubuntu.com/";
> SUPPORT_URL="https://help.ubuntu.com/";
> BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
> PRIVACY_POLICY_URL="
> https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
> UBUNTU_CODENAME=noble
> LOGO=ubuntu-logo
>
> $ java -version
> openjdk version "21.0.6" 2025-01-21
> OpenJDK Runtime Environment (build 21.0.6+7-Ubuntu-124.04.1)
> OpenJDK 64-Bit Server VM (build 21.0.6+7-Ubuntu-124.04.1, mixed mode,
> sharing)
>
> Please suggest. Thanks in advance.
>
> Best regards,
>
> Kaushal
>
>
> On Mon, Apr 28, 2025 at 1:44 PM Kaushal Shriyan <kaushalshri...@gmail.com>
> wrote:
>
>>
>>
>> On Mon, 28 Apr 2025, 13:22 Ádám Sághy, <adamsa...@gmail.com> wrote:
>>
>>> Hi
>>>
>>> I do not recommend running the clean and bootJar with gradle while
>>> daemons are allowed…
>>>
>>> The issue you shared looks like the application.properties were not
>>> bundle with the jar and it is failing to fetch “fineract’ related
>>> configurations.
>>>
>>> Would you mind to rebuild the jar without gradle clean and retest?
>>>
>>> Regards,
>>> Adam
>>>
>>
>> Thanks Adam for the suggestion. I really appreciate it.
>>
>> Best regards,
>>
>> Kaushal
>>
>>>
>>> On 2025. Apr 28., at 9:38, Kaushal Shriyan <kaushalshri...@gmail.com>
>>> wrote:
>>>
>>> Hi Victor,
>>>
>>> Further to my previous email, I ran the command mentioned in the
>>> pastebin link: https://termbin.com/33qr.
>>>
>>> $java -jar
>>> fineract-provider/build/libs/fineract-provider-1.12.0-SNAPSHOT.jar
>>>
>>> Best regards,
>>>
>>> Kaushal
>>>
>>> On Mon, Apr 28, 2025 at 1:03 PM Kaushal Shriyan <
>>> kaushalshri...@gmail.com> wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Mon, Apr 28, 2025 at 11:03 AM VICTOR MANUEL ROMERO RODRIGUEZ <
>>>> victor.rom...@fintecheando.mx> wrote:
>>>>
>>>>> Hello Kaushal,
>>>>>
>>>>> Try
>>>>>
>>>>>
>>>>> ./gradlew :fineract-provider:clean :fineract-provider:bootJar -x test
>>>>>
>>>>>
>>>>> and let us know.
>>>>>
>>>>>
>>>>> Regards
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Thank you, Victor, for the quick response.  I ran the following steps
>>>> which is mentioned in the pastebin link: https://termbin.com/0e7z
>>>>
>>>> $./gradlew :fineract-provider:clean :fineract-provider:bootJar -x test
>>>> --info > build.log 2>&1
>>>>
>>>> Please guide me. Thanks in advance.
>>>>
>>>> Best regards,
>>>>
>>>> Kaushal
>>>>
>>>
>>>

Reply via email to