../gosrc/src/github.com/gogs/gogs/cmd/cert.go:79: undefined: elliptic.P224
/admin
) and run two tasks:
Rewrite '.ssh/authorized_keys' file
Resync pre-receive, update and post-receive hooks of all repositories
When using git over SSH, Gogs relies on the hook scripts to update the timeline and repository display. Unfortunately, there are many different ways to disable the execution of these scripts.
This happens more often when you store repositories on a mounted device.
noexec
by issuing the mount
command. If necessary, add the exec
option to the mount point in /etc/fstab
.vfat
(and possibly cifs
) mounts, ensure that the uid
, gid
, and fmask
options permit either the Gogs user or a group to which it belongs to execute files on the mount.fatal: 'XX/XX.git' does not appear to be a git repository
~/.ssh/authorized_keys
file, possibly you are/were using GitLab for same system user.repo.NewRepoContext(fail to set git user.email):
cmd
optioncmd
option.cache: unknown adaptername "memcache" (forgotten import?)
go get -tags memcache github.com/gogs/gogs
go build -tags memcache
redis
when you want it to be the cache adapter.Error 1071: Specified key was too long; max key length is 1000 bytes
Solution: Once you import the config/mysql.sql
then login into mysql and run:
use gogs;
set global storage_engine=INNODB;
After that, go to http://localhost:3000/install and everything works fine(thanks @linc01n).
Database setting is not correct: This server only supports the insecure old password authentication. If you still want to use it, please add 'allowOldPasswords=1' to your DSN. See also https://github.com/go-sql-driver/mysql/wiki/old_passwords
user
table does not exist.Please log in via your web browser and then try again
continue
.spam
box in case your mail service provider thinks your gmail is a spammer.gomail: could not send email 1: Auth: 535
PASSWD = 'P4§$w0rd'
2014/09/18 15:04:40 [repo.go:115 CreatePost()] [E] CreatePost: initRepository: initRepository(git clone): cygwin warning: MS-DOS style path detected: C:\Users\user\gogs-repositories\unos\test3.git/.git Preferred POSIX equivalent is: /cygdrive/c/Users/user/gogs-repositories/unos/test3.git/.git CYGWIN environment variable option “nodosfilewarning” turns off this warning. Consult the user’s guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames Cloning into ‘C:\Users\user\AppData\Local\Temp\484264900’… fatal: ‘/cygdrive/d/svnroot/research/gogs/C:\Users\user\gogs-repositories\unos\test3.git’ does not appear to be a git repository fatal: Could not read from remote repository. ```
Resource interpreted as Stylesheet but transferred with MIME type application/x-css
.css
in HKEY_CLASSES_ROOT
in registry and change its Content Type
to text/css
.127.0.0.1
instead of localhost
when you run the initial http://gogs-server:3000/install
setuphttp://gogs-server:3000/install
setupError 1062: Duplicate entry 'Unknown-Mac' for key 'UQE_public_key_name'
public_key
table used to have UQE_public_key_name
unique rule for SSH key name in very early version.GLIBC_2.14 not found
sudo apt-get -t testing install libc6-dev
.[Macaron] PANIC: session(start): mkdir data: permission denied
data
subdirectory at the same directory where Gogs binary is located.! [remote rejected] master -> master (hook declined)
bash
shell available in your system, all the hook scripts needs it.