[ QGit ] [ 2.39.1.0 ] Git SCM (Full)

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
sciack
Starting out
Posts: 41
Joined: Sun Mar 22, 2015 11:08 pm

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by sciack »

Still have problems with your sabnzbd. On windows it works perfectly, on NAS it is not working, I always get this messages: Repair failed, not enough repair blocks (3051 short)

The same .nzb is going to be downloaded without issues on windows
sciack
Starting out
Posts: 41
Joined: Sun Mar 22, 2015 11:08 pm

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by sciack »

I think there is a problem in your QSabnzbdplus. In the logs I see something like: SAB_CONFIG/<USERNAME>/postproc2.sab

instead there should be my username but it will not show, and maybe this is why it is not working.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by QNAP_Stephane »

I always get this messages: Repair failed, not enough repair blocks (3051 short)

is due your PAR files are incomplete, may be your can install the PAR2 QPKG instead, it is may be more recent
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
sciack
Starting out
Posts: 41
Joined: Sun Mar 22, 2015 11:08 pm

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by sciack »

The only thing that worked was to disable Check result of unpacking (needs to be off for some file systems).
jasonhollis
Starting out
Posts: 16
Joined: Tue Dec 22, 2009 3:41 pm

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by jasonhollis »

When I disable the checking as suggested in the previous post I almost aways end up with a directory full of broken files e.g. not what I'm looking for. I see the same missing username error in my logs as well and not on my Mac build for the same downloads.
presenceofmind
Know my way around
Posts: 198
Joined: Thu May 26, 2016 3:05 pm

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by presenceofmind »

hi all,

Will Qgit work as a git server in my qnap? do I need to set it up?

What about allowing qnap user accounts to access their repositories via ssh?

Is there a way to get web interface?

Regards
wisie
Starting out
Posts: 26
Joined: Sun Feb 01, 2015 11:03 am

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by wisie »

I've got this issue appearing in Sickrage. Any ideas? So close to fixing my issues since upgrading recently...

Code: Select all

2017-05-11 03:55:18 Thread-15 :: "/opt/QGit/bin/git" fetch origin returned : fatal: unable to access 'https://github.com/SickRage/SickRage.git/': error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
2017-05-11 03:55:18 Thread-15 :: Unable to contact github, can't check for update
User avatar
peelos
Been there, done that
Posts: 580
Joined: Sun Jun 26, 2016 9:28 pm

Re: RE: Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by peelos »

peelos wrote:can anyone help me fix the following:

Code: Select all

fatal: unable to access 'https://github.com/gituser/thegitIwanttoclone.git/': error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
Have a look at thisviewtopic.php?f=320&t=109649&start=15#p580237
NAS: TVS-1282-i7-7700-40G / 4 x 500GB SSD 2.5" RAID 10 / 2 x 500GB M.2 SSD / 8 x 12TB WD Whites 3.5" RAID 6 / Noctua L9x65 / 3 x 80mm PWM Noctua fans / Corsair 600W PSU / Asus Turbo GTX 1060 6GB GPU
Software: Plex Media Server / Transmission / Sonarr / Radarr / Bazarr / Jackett / Tautulli / Home Assistant / Resilio Sync / Python / NetData / SortMyQPKGs
pfSense Firewall / OpenVPN Server: QOTOM Fanless Mini PC / Core i5 / 8GB RAM / 128GB SSD / 4 Gigabit NICs / AES-NI
Wireless Routers: 2 x Netgear AC1900 R7000 Nighthawk / 1 x Netgear AC3200 R8000 Nighthawk / FreshTomato Firmware
wisie
Starting out
Posts: 26
Joined: Sun Feb 01, 2015 11:03 am

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by wisie »

Seems to have worked - thanks!
gilroykilroy
Starting out
Posts: 18
Joined: Sun Mar 09, 2014 2:22 am

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by gilroykilroy »

I'm trying to install git on my TS-253 Pro running 4.3.3. When I try to install QGit_2.10.0_x86_64.qpkg it fails to install. When I try to install QGit_2.10.0_x86.qpkg it installs but fails to run:

[~] # git
-sh: /usr/bin/git: No such file or directory

Now what?

Thanks.
shee0620
New here
Posts: 2
Joined: Fri May 19, 2017 2:47 pm

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by shee0620 »

Don't support arm v7 version?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by QNAP_Stephane »

shee0620 wrote:Don't support arm v7 version?
arm-x41 is right package for ARMv7
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
shee0620
New here
Posts: 2
Joined: Fri May 19, 2017 2:47 pm

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by shee0620 »

QNAP_Stephane wrote:
shee0620 wrote:Don't support arm v7 version?
arm-x41 is right package for ARMv7
Thank you for your help
AcidBurns87
New here
Posts: 4
Joined: Wed Dec 19, 2012 7:15 am

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by AcidBurns87 »

I installed the x64 Version on my Qnap TS569L.
The configuration of git is simply not present, this results in Git not finding any SSL Certificates.
This is not any "nice to have config", talking over HTTPS at least for my understanding is an absolute MUST. Especially if you are going to compile and run the code on your nas. Nothing simpler than altering some http traffic while downloading. For instance if you clone nextcloud, altering some files to also download malware the first time you run it. This is much harder if you talk over https.

So if you want to clone any git from github you'll get into trouble, since github usually issues only HTTPS-Links (which is the way it should be so nobody tempers with the code you download while you download it).

To fix this issue, log in via ssh, install nano (opkg install nano); if you don't have entware-ng installed, you should probably also install it from here: viewtopic.php?f=351&t=116737

after nano is working, edit the gitconfig file:
nano /opt/QGit/etc/gitconfig

add the following lines to give git the path of your nas'es root certificates:

Code: Select all

[http]
    sslCAinfo = /etc/ssl/certs/rootca.pem
Hit Control + X to quit and Y to save the file. After that you should be good to go.

Have a nice and secure day while cloning into git's.

--Acid
gilroykilroy
Starting out
Posts: 18
Joined: Sun Mar 09, 2014 2:22 am

Re: [ QGit ] [ 2.10.0 ] Git SCM (Full)

Post by gilroykilroy »

Just to follow up on my issue I wound up installing GitLab in a Container:

http://monstercoder.github.io/2016/run- ... ap451-nas/
Post Reply

Return to “Community Apps”