Redmine repository 404 not found

We look in to redmine production.log file an see follow error

 

git: error during get default branch: Couldn’t find all GitCaches with ‘id’: (last, {:order=>”created_at DESC”}) (found 0 results, but was looking for 2)
Completed 404 Not Found in 361ms (ActiveRecord: 66.9ms)

What can i do to fix this issue?

Gitolite upgrades can change /home/git/.gitolite.rc this file.

Than can happend, that you have a UMASK 0077 thats wrong, you need 0022

1507295433507-184.png

Thats all

Edit:

Another Solution is

setfacl -R -m u:git:rX /home/git/repositories/

 

Hint found here

http://www.fabianfier.de/blog1.php/redmine-shows-404-error-on

https://stackoverflow.com/questions/7086325/setting-umask-in-git-gitolite

How to build Zookeeper DEB for Ubuntu14.04

You need the zookeeper 3.4.6 package for Ubuntu 14.04 LTS

 wget http://apache.arvixe.com/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz

 gzip -dc zookeeper-3.4.6.tar.gz | tar xf –

Remove

vi src/packages/deb/zookeeper.control/control

in file remove line

Depends: sun-java6-jre

You need a few packages to compile it

apt-get install python-setuptools libcppunit-dev build-essential libboost-all-dev cmake flex libtool ant

and then start build process

/zookeeper-3.4.6# ant deb

this takes a few minutes, the deb packe can be found under /build

And a complete build run

https://konkretor.files.wordpress.com/2016/03/build.pdf

Some found here

https://grockdoc.com/zookeeper/3.4.6/articles/install-an-apache-zookeeper-cluster-for-production-ubuntu_3a5bdf44-9d59-45a7-9b44-d83960a0ef18

Apache Logs meisten Zugriffe

Gute Frage, eine Zeile Code und schon kann es los gehen.

/var/log/apache(httpd) je nach System

tail -10000 access_log | awk ‘{print $1}’ | sort | uniq -c | sort -n | tail

gefunden bei

http://www.commandlinefu.com/commands/view/6/analyse-an-apache-access-log-for-the-most-common-ip-addresses

schauen wie viele Verbindungen der Apache aufgebaut hat

http://wiki.ubuntuusers.de/lsof

http://www.commandlinefu.com/ immer was passendes Dabei