Gogs package — an awesome GitHub alternative


#22

Hi,

I just install last version of gogs on a YunoHost 2.5.6 .

Seems to work, i just have an issue about home url.

Installed version on own url gogs.example.org , i can log in : but home page are redirected to gogs.example.org/gogs/ like ‘Tableaux de bord’ redirected to gogs/ too.

I look at ngynx : don’t seems to be here.

Any idea ?


#23

Hi, sorry to dirsupt you again, but after a reinstall of gogs (don’t ask) I have this error now

And sometimes I have this.

I started all services and check the go code but … the request diend by validname annoying me.


#24

Hi,

so bad news I have a wierd behavior. I must be not connected to yunohost (log out) and so I have access to gogs but without… users, impossible to log in…

I ve check on git https://github.com/YunoHost-Apps/gogs_ynh/issues/16 and seems related…

For the log on log in… I can make it for now but without user, it’s complecate, impossible to create a repository…
Any idea ??

thanks.


#25

Sorry I have absolutely no idea.
In my case I dind’t have much time to spend on my own server maintenance and broke some db stuff when I did updates yesterday.

I was running version 0.9 and couldn’t even update it nor access the db, everything was kinda broken so I backed up /home/gogs/repositories.
I tryied to put it back in place after a fresh re-install of the whole server but the repos do not seem to appear.
I knew this wouldn’t be so easy (and some stuff were stored in the db) but if someone knows the extra step so I can get back my codes.

Thanks. =)


#26

Hi !
I just install this app package and it seems work fine.
I encounter a problem when i try to push throught https protocols. I’m a git beginner and i don’t know how i can resolve my stuff. See

$ git push https://******.com/app/myuser/project.git
fatal: unable to update url base from redirection:
  asked for: https://******.com/app/myuser/project.git/info/refs?service=git-receive-pack
   redirect: https://******.com/yunohost/sso/?r=aHR0cHM6Ly9sZS1udWFnZS5vcmcvZ29ncy9kcHJ1ZGVudC9Ud2l0Y2hfb3ZlcmxheXMuZ2kvaW5mby9yZWZzP3NlcnZpY2U9Z2l0LdXJlY2VpdmUtcGFjaw==

Help me :slight_smile:


#27

i just set the app as public and it works


#28

It works in public mode yes but this is not a good solution. I don’t want this site as public.
I just want to use it in a private mode do you have any ideas ?
By the way how can i change the status of public site ?


#29

Thank you tostaki this is really great. I was looking for gitlab and found it wasn’t done but I’ve never been really happy with gitlab, its just so ridiculously slow. Gogs is fantastic. I found that the web based installer didn’t work but the command line instructions on the github repo worked flawlessly. I really like yunohost, I think I’ll be working on something for it too.


#30

I’ve been trying to get Gogs running on my LIME2 with YunoHost 2.7.5, without success. The only thing I see when I try to access domain.nohost.me/gogs is a white page. I’ve installed Gogs as a private app, but making it public doesn’t help. Issueing commands like service gogs start, service nginx reload and systemctl restart gogs.service doesn’t help.
I used to have Gogs running on a Pi 2 with my own domain, so I’m wondering if my setup is somehow causing the issue.


#31

Alright, by running yunohost app install -l Gogs https://github.com/YunoHost-Apps/gogs_ynh instead of using the GUI app installer, Gogs started to work. Why is this? Does the command install a later version of Gogs? Or is the terminal install somehow different from the GUI install?


#32

Hello,

New gogs version in testing :

  • Upgrade to gogs 0.11.53

#33

hi ,

2 questions about gogs :slight_smile:

1/ Gogs files yunohost =

/home/gogs/

(root server access)
If you’re using a non-default port for your SSH server, you will get not-so-pretty clone URLs. So can i make gogs start its own SSH server on yunohost?

Thereby if it’s true on Yunohost
2/ I believe it is for new users that want to use to built-in server. So i think that i don’t block port 22 firewall. is my idea correct?

sorry if I’m not clear enough. i discover Gogs

Sources:
https://wiki.archlinux.org/index.php/Gogs#Configuration


#34

Hello,

You could set up the build in server but the problem is that you config that you will do might be rewrite on each upgrade.

You could also just add something like that in ~/.ssh/config :

Host domain.tld
User gogs
Port YOUR_PORT

About the firewall normally yunohost open just the port on the main ssh server are running. But you could also open an other port manually.


#35

Arff you re right… :wink:
I have forgot this issue…
Ty
Yolateng0