I’m sure I’m blind, but I have installed the BILLRUN docker, and now I need the log in username and password?!?!?
Hello MSPGroup,
The default login information is mentioned here:
“default user & password are admin & 12345678 accordingly. Please change it after first login.”
I hope this helps
I read that. But still no.
Hey there @MSPGroup,
There can be serveral issues causing this problem.
Please attach the log after several login attempts that provided by running :
docker logs --tail 500 nginx
docker logs --tail 500 billrun
Thanks,
Eran
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “NOTICE: PHP message: PHP Fatal error: Uncaught Zend_Log_Exception: “/proc/self/fd/2” cannot be opened with mode “a” in /billrun/library/Zend/Log/Writer/Stream.php:81”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “Stack trace:”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “#0 /billrun/library/Zend/Log/Writer/Stream.php(106): Zend_Log_Writer_Stream->__construct(‘/proc/self/fd/2’, ‘a’)”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “#1 /billrun/library/Zend/Log.php(275): Zend_Log_Writer_Stream::factory(Array)”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “#2 /billrun/library/Zend/Log.php(169): Zend_Log->_constructFromConfig(‘writer’, Array, ‘Zend_Log_Writer’)”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “#3 /billrun/library/Zend/Log.php(503): Zend_Log->_constructWriterFromConfig(Array)”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “#4 /billrun/library/Zend/Log.php(152): Zend_Log->addWriter(Array)”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “#5 /billrun/library/Billrun/Log.php(62): Zend_Log::factory(Array)”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “#6 /billrun/library/Billrun/Factory.php(159): Billrun_Log::getInstance()”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “#7 /billrun/library/Billrun/Utils/ErrorHandler.php(24): Billrun_Factory::log(‘{“status”:0,"co…’, 3)”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “#8 /billrun/public/index.php(17): Billrun_Utils_ErrorHandler->errorAction(Object(Exception))”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: “#9 {main}”
[15-Dec-2020 09:07:00] WARNING: [pool www] child 183 said into stderr: " thrown in /billrun/library/Zend/Log/Writer/Strea…"
10.103.0.4 - 15/Dec/2020:09:07:00 +0000 “POST /index.php” 500
2020/12/15 09:06:49 [error] 23#23: *493 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Zend_Log_Exception: “/proc/self/fd/2” cannot be opened with mode “a” in /billrun/library/Zend/Log/Writer/Stream.php:81
Stack trace:
#0 /billrun/library/Zend/Log/Writer/Stream.php(106): Zend_Log_Writer_Stream->__construct(‘/proc/self/fd/2’, ‘a’)
#1 /billrun/library/Zend/Log.php(275): Zend_Log_Writer_Stream::factory(Array)
#2 /billrun/library/Zend/Log.php(169): Zend_Log->_constructFromConfig(‘writer’, Array, ‘Zend_Log_Writer’)
#3 /billrun/library/Zend/Log.php(503): Zend_Log->_constructWriterFromConfig(Array)
#4 /billrun/library/Zend/Log.php(152): Zend_Log->addWriter(Array)
#5 /billrun/library/Billrun/Log.php(62): Zend_Log::factory(Array)
#6 /billrun/library/Billrun/Factory.php(159): Billrun_Log::getInstance()
#7 /billrun/library/Billrun/Utils/ErrorHandler.php(24): Billrun_Factory::log(‘{“status”:0,"co…’, 3)
#8 /billrun/public/index.php(17): Billrun_Utils_ErrorHandler->errorAction(Object(Exception))
#9 {main}
thrown in /billrun/library/Zend/Log/Writer/Strea” while reading response header from upstream, client: 82.152.32.203, server: localhost, request: “GET /api/auth HTTP/1.1”, upstream: “fastcgi://10.103.0.2:9000”, host: “xxxxxxxxxxxxx”, referrer: “http://xxxxxxxxxxxxxxxxx/index.html”
82.152.32.203 - - [15/Dec/2020:09:06:49 +0000] “GET /api/auth HTTP/1.1” 500 180 “http://xxxxxxxxxxxxxx/index.html” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.60”
8
Hi, @BillRun-Alon @eranu ,
I’m facing the same issue as @MSPGroup. My logs look exaclty like theirs. Any help would be appreciated.
Thanks in advance.
Hello @sriusMKS and @MSPGroup ,
Unfortunately we’re not able to recreate this issue, However there is a workaround for it.
You can change the log configuration entry in conf/container.ini
file from :
log.debug.writerParams.stream= "/proc/self/fd/2"
to
log.debug.writerParams.stream=APPLICATION_PATH "/logs/debug.log"
then run the command (under the application directory):
chmod 666 logs/debug.log
Hope this will help,
Eran
Just set up a new site on a new server,
Tried logging in using admin as username (even though it asks for email) and 12345678 as password but it’s telling me invalid credentials.
When checking debug log it says
Error message: Failed to parse MongoDB URI: 'mongodb://'. Invalid host string in URI.
Has the default username and password changed?
How can I log in?