[Request] BOINC QPKG

Ask community developers’ help for your most wanted Apps and also discover what the hottest and ultimate Apps are.
User avatar
Don
Guru
Posts: 12289
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: [Request] BOINC QPKG

Post by Don »

@Philippe, as always your comments, knowledge, efforts, and guidance are always welcome and appreciated.

@Stephane, please ensure to include the 32 bit libraries so 32 bit projects will be supported. I am assuming you are building on Ubuntu so the following 32 bit libraries need to be installed, ia32-libs, libstdc++6, libstdc++5, freeglut3. Reference here --> http://boinc.berkeley.edu/wiki/Installing_BOINC
Use the forum search feature before posting.

Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Request] BOINC QPKG

Post by QNAP_Stephane »

Hi Don,

i built it from source for x64 NAS only, qpkg is available on Qnapclub

https://qnapclub.eu/index.php?act=detail&qpkg_id=473

it is the ful CLI version...
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Don
Guru
Posts: 12289
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: [Request] BOINC QPKG

Post by Don »

QNAP_Stephane wrote:Hi Don,

i built it from source for x64 NAS only, qpkg is available on Qnapclub

https://qnapclub.eu/index.php?act=detail&qpkg_id=473

it is the ful CLI version...
Thanks. Will try shortly. Did you include the 32 bit libraries?
Use the forum search feature before posting.

Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Request] BOINC QPKG

Post by QNAP_Stephane »

i do not understand why ia32libs are necessary

this a CLI implementation only... no x11

it launchs the boinc process on start, all should be manageable over boinccmd command line in NAS $PATH

you can remote connect your manager

http://boinc.berkeley.edu/wiki/Controll ... ote_access
Remote access
A "remote" RPC is one that comes from a different computer.
All remote RPCs (both status and control) are authenticated using the GUI RPC password.
By default, remote RPCs are not accepted from any host. To specify a set of hosts from which RPCs are allowed, create a file remote_hosts.cfg in your BOINC data directory containing a list of allowed DNS host names or IP addresses (one per line). Only these hosts will be able to connect. The remote_hosts.cfg file can also have comment lines that start with either a # or a ; character.
Alternatively, if you run the client with the --allow_remote_gui_rpc command line option, it will accept connections from any host (subject to password authentication). If you have a remote_hosts.cfg file but also start the client with --allow_remote_gui_rpc, the file will be ignored, and any host will be allowed to connect.
Note that the "Read config file" on the BOINC Manager, Advanced menu will also read in the remote_hosts.cfg file i.e. a restart of the client is not required to enable changes to the remote host list.
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Don
Guru
Posts: 12289
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: [Request] BOINC QPKG

Post by Don »

I installed BIONC with no problems but ran into the following issues after install.
  1. Could not attach to the client from the manager running on Windows. Discovered that the client was only started with the --daemon option ( /opt/Boinc/binaries/boinc --daemon). I restarted the client with the --allow_remote_gui_rpc option and I was able to connect to the client from the manager but not authorize.
  2. When BOINC client first runs, it generates a random password. I had to modify the gui_rpc_auth.cfg file and changed the random password to one that I wanted. I restarted BOINC and I was then able to connect and authorize to the client from the manager.
  3. I was unable to add a project from the manager. I would get the following error in the log file.

    Code: Select all

    9/6/2017 4:08:47 PM |  | Fetching configuration file from http://setiathome.berkeley.edu/get_project_config.php
    9/6/2017 4:08:56 PM |  | Project communication failed: attempting access to reference site
    9/6/2017 4:08:57 PM |  | BOINC can't access Internet - check network connection or proxy configuration.
    This is of course not a valid error since I was able to download and install BOINC from the QNAP Store. I can also ping from the command line (putty session).
The --allow_remote_gui_rpc option needs to be added to the startup command.

A default password should be set instead of letting BOINC create a random password.

Why the manager cannot add a project needs to be investigated.

Some of the projects that you can run in BOINC are 32 bit only. So in order to run them the 32 bit libraries need to be included. I am assuming you are building on Ubuntu so the following 32 bit libraries need to be installed, ia32-libs, libstdc++6, libstdc++5, freeglut3. Reference here --> http://boinc.berkeley.edu/wiki/Installing_BOINC
QNAP_Stephane wrote:I have 7.7.0 version from git compiled and running
According to here --> https://boinc.berkeley.edu/download_all.php 7.2.42 is the recommended Linux version.

Update 1 - I am able to connect to projects via the command line. They show up in the manager and I am able to control them once they are added via the command line but I am not able to add projects via the manager. I will stop search the BOINC forums and post the issue if not already there.

Thanks
Don
Use the forum search feature before posting.

Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
User avatar
Don
Guru
Posts: 12289
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: [Request] BOINC QPKG

Post by Don »

Stephane,

I was able to get the manager fully working with the help of the BOINC support forum. The issue was a missing crt file. Once I downloaded it and moved it to the BOINC directory I was able to add existing projects and also connect to new projects via the manager.

32bit Linux projects will not run because the 32 libraries are missing.

Can please make the following changes.
  1. The file ca-bundle.crt needs to be included at /share/CACHEDEV1_DATA/.qpkg/Boinc. It can be found at https://raw.githubusercontent.com/BOINC ... bundle.crt. This resolves the can't access internet issue.
  2. During install of BIONC if the file gui_rpc_auth.cfg does not exist in /share/CACHEDEV1_DATA/.qpkg/Boinc create one with a default password in it (i.e boinc). When boinc is ruin the first time it will create the file and put in a random password. To change the password so that you can access the client that file would need to be edited. Creating one with a default password eliminates the need to change it. However, if someone wants to change it they still can. Do not change or the file if it already exists.
  3. The 32 bit libraries need to be included so that projects that run on 32 bit Linux and not 64 bit Linux can be selected. The libraries that need to be included, assuming Ubuntu, are ia32-libs, libstdc++6, libstdc++5, gcc-4.7-multilib, lib32z1, lib32ncurses5, lib32bz2-1.0, and freeglut3 as referenced here --> http://boinc.berkeley.edu/wiki/Installing_BOINC
I would recommend not adding --allow_remote_gui_rpc to the startup command as I previously suggested. This option allows any computer to attach to the running client. Instead if someone wants to attach to from a different computer they can create a remote_hosts.cfg file and add the names of the computers they want to allow to connect remotely.

Thanks for work on this.
Don
Use the forum search feature before posting.

Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Request] BOINC QPKG

Post by QNAP_Stephane »

Hi Don,

ok for .crt, it is added in my diff (may be the CACert qpkg can also did the trick)

checking for the 32bit libs...
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Request] BOINC QPKG

Post by QNAP_Stephane »

7.7.0.1 is online on Qnapclub repo

https://qnapclub.eu/index.php?act=detail&qpkg_id=473

with your requested modification
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Don
Guru
Posts: 12289
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: [Request] BOINC QPKG

Post by Don »

Installed and tested.

.crt install works fine.

Password setup not working - see # 2 above. Could be done during startup instead of during install.

32 bit apps not working.

Thanks
Use the forum search feature before posting.

Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
schaeferhomeeu
New here
Posts: 2
Joined: Wed Nov 09, 2016 1:56 pm

Re: [Request] BOINC QPKG

Post by schaeferhomeeu »

QNAP_Stephane wrote: Mon Sep 11, 2017 1:09 am 7.7.0.1 is online on Qnapclub repo

https://qnapclub.eu/index.php?act=detail&qpkg_id=473

with your requested modification

Hi
Version 7.7. is quite outdated now.
Could you upgrade to a current version?


Thanks
User avatar
dolbyman
Guru
Posts: 35030
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: [Request] BOINC QPKG

Post by dolbyman »

If you have a nas that can run boinc in any capacity, it can run vm's and containers

Use those to run boinc
User avatar
Don
Guru
Posts: 12289
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: [Request] BOINC QPKG

Post by Don »

Actually 7.4.22 is the current production version for X64 Linux. 7.7.x was a development version as is 7.16.6 (MAY BE UNSTABLE - USE ONLY FOR TESTING).
Use the forum search feature before posting.

Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
Post Reply

Return to “Apps Wanted”