I try to setup a test-enviroment on a debian wheezy server with the PI version 2-4-1 - but it ends with the following error.
(privacyidea-venv)root@mfatest:/# pi-manage.py createdb
The configuration name is: heroku
Additional configuration can be read from the file /etc/privacyidea/pi.cfg
No section: 'formatters'
No log config file defined in PI_LOGCONFIG. Using default logging settings
PI_LOGLEVEL found. Setting to 20
PI_LOGFILE found. Setting to /var/log/privacyidea/privacyidea.log
Traceback (most recent call last):
File "/opt/privacyidea/privacyidea-venv/bin/pi-manage.py", line 44, in <module>
File "/opt/privacyidea/privacyidea-venv/local/lib/python2.7/site-packages/privacyidea/app.py", line 152, in <module>
heroku_app = create_app(config_name="heroku")
File "/opt/privacyidea/privacyidea-venv/local/lib/python2.7/site-packages/privacyidea/app.py", line 146, in create_app
handler.doRollover()
File "/usr/lib/python2.7/logging/handlers.py", line 140, in doRollover
os.rename(self.baseFilename, dfn)
OSError: [Errno 2] No such file or directory