[ Gogs ] [ 0.12.10 ] GitHub Fork

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
jace.wiseman
Starting out
Posts: 16
Joined: Sun Nov 08, 2015 6:33 am

Re: [ Gogs ] [ 0.9.71 ] GitHub Fork

Post by jace.wiseman »

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

Re: [ Gogs ] [ 0.9.97 ] GitHub Fork

Post by QNAP_Stephane »

new update
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
c2matrix
New here
Posts: 7
Joined: Mon Jun 09, 2014 11:32 am

Re: [ Gogs ] [ 0.9.97 ] GitHub Fork

Post by c2matrix »

I installed armv5 version of QGit and Gogs on my HS-210 (marvel 1.6, QTS 4.2.2). but can't open it. when I run gogs directly on the install path (/share/MD0_DATA/.qpkg/Gogs), it shows "illegal instruction".
How can I run it up on HS-210? Thanks!
c2matrix
New here
Posts: 7
Joined: Mon Jun 09, 2014 11:32 am

Re: [ Gogs ] [ 0.9.97 ] GitHub Fork

Post by c2matrix »

I download gogs binary (linux-arm package), unziped and uploaded to my NAS, still got "illegal instruction" when run the gogs command .
juliank92
First post
Posts: 1
Joined: Tue Oct 11, 2016 1:53 am

Re: [ Gogs ] [ 0.9.97 ] GitHub Fork

Post by juliank92 »

c2matrix wrote:I installed armv5 version of QGit and Gogs on my HS-210 (marvel 1.6, QTS 4.2.2). but can't open it. when I run gogs directly on the install path (/share/MD0_DATA/.qpkg/Gogs), it shows "illegal instruction".
How can I run it up on HS-210? Thanks!
Yup, got the same on a TS-221 with a ARM v5 (QTS 4.2.2). The only one i got working on my NAS is Gogs 0.9.13
Although i'm still happy that one of the packages is working, upgrading would be nice :wink:
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Gogs ] [ 0.9.113 ] GitHub Fork

Post by QNAP_Stephane »

updated
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
paulishta
New here
Posts: 8
Joined: Wed Sep 28, 2016 5:46 am

Re: [ Gogs ] [ 0.9.113 ] GitHub Fork

Post by paulishta »

Gogs 0.9.113 installation failed. Error Firmware version, please upgrade to QTS 4.3.0 or newer version. :(
c2matrix
New here
Posts: 7
Joined: Mon Jun 09, 2014 11:32 am

Re: [ Gogs ] [ 0.9.113 ] GitHub Fork

Post by c2matrix »

It need QTS 4.3.0, but my device hs-210 can't upgrade to QTS 4.3. :(
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Gogs ] [ 0.9.228 ] GitHub Fork

Post by QNAP_Stephane »

updated
---------------------------------------------------------------------------------------------------------------------------

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: [ Gogs ] [ 0.10.8 ] GitHub Fork

Post by QNAP_Stephane »

updated to 0.10.8
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
presenceofmind
Know my way around
Posts: 198
Joined: Thu May 26, 2016 3:05 pm

Re: [ Gogs ] [ 0.10.8 ] GitHub Fork

Post by presenceofmind »

Hi all,

I've install the latest gogs 10.8 on a 4.3.3 firmware and it's working great.

By default, the website url is using port 3000 instead I would like to use my qnap domain and port 80 mainly because all my repositories will be working with http url and I want to be as clean as possible.

I understand there are two steps. First change gogs config to work with the domain(seems to be working) and second is to update qthttp vhost file with proxypass to redirect http://<ip>/gogs to http://<ip>:3000 (conversion from domain to ip is done by qnap server).

http://myqnapserver/gogs --> http://myqnapserver:3000

Did anyone manage to get this working? I've tried a feel suggestions but none successful.

Regards
Last edited by presenceofmind on Tue Jun 06, 2017 11:20 pm, edited 3 times in total.
presenceofmind
Know my way around
Posts: 198
Joined: Thu May 26, 2016 3:05 pm

Re: [ Gogs ] [ 0.10.8 ] GitHub Fork

Post by presenceofmind »

hi all,

I've been working on setting up a virtualhost for gogs to solve the url issue. Unfortunately I can't progress any further.

It seems the web server is resetting conf files everytime the service restarts.

How can I go around that? Did anyone face this issue?

Regards
presenceofmind
Know my way around
Posts: 198
Joined: Thu May 26, 2016 3:05 pm

Re: [ Gogs ] [ 0.10.8 ] GitHub Fork

Post by presenceofmind »

Hi QNAP_Stephane,

I can't setup virtualhost for gogs because qnap web server is resetting the apache config files at each restart.

This is what I want to do:

1) Include proxy modules in the apache.conf

2) Create a virtualhost using proxypass in the httpd-vhosts-users.conf

Here is a link with more details: https://discuss.gogs.io/t/apache-sub-ur ... gogs/129/4

How can I prevent the config files to be reseted? or is there another way of having this done without having another apache instance using Qapache?

Regards
Last edited by presenceofmind on Sat Feb 24, 2018 6:19 am, edited 2 times in total.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Gogs ] [ 0.10.8 ] GitHub Fork

Post by QNAP_Stephane »

simply include your change to the Gogs startup script to modify the apache conf file and create symlink on qpkg start for your config file

you can check on my Gotty last version qpkg, i did it work over the proxy pass with the delivered Qnap Apache
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
presenceofmind
Know my way around
Posts: 198
Joined: Thu May 26, 2016 3:05 pm

Re: [ Gogs ] [ 0.10.8 ] GitHub Fork

Post by presenceofmind »

Thanks great Stephane,

That's it. So it is possible to include instructions in the app to modify the apache configs.

That's brilliant. Is this something you might do for gogs and other web apps that are selfhosted and use ports.

I need to get used to modifying installation package but at least now I'm heading in the right direction.

Cheers
Post Reply

Return to “Community Apps”