hi Frank,
short question , do you use a postgresql db as database backend ? if so there is an arrow in your log that shows trac cant find psycopg2
2023-05-27 12:00:13,510 Trac[loader] DEBUG: Loading plugin "trac.db.postgres" from "/usr/local/lib/python2.7/dist-packages"
2023-05-27 12:00:13,511 Trac[loader] DEBUG: Skipping "trac.db.postgres = trac.db.postgres_backend": DistributionNotFound: The 'psycopg2>=2.0 or psycopg2-binary' distribution was not found and is required by Trac
2023-05-27 12:00:13,511 Trac[loader] DEBUG: Loading plugin "trac.db.sqlite" from "/usr/local/lib/python2.7/dist-packages"
2023-05-27 12:00:13,512 Trac[loader] DEBUG: Loading plugin "trac.mimeview.patch" from "/usr/local/lib/python2.7/dist-packages"
2023-05-27 12:00:13,513 Trac[loader] DEBUG: Loading plugin "trac.mimeview.pygments" from "/usr/local/lib/python2.7/dist-packages"
2023-05-27 12:00:13,528 Trac[loader] DEBUG: Loading plugin "trac.mimeview.rst" from "/usr/local/lib/python2.7/dist-packages"
2023-05-27 12:00:13,628 Trac[loader] DEBUG: Loading plugin "trac.mimeview.txtl" from "/usr/local/lib/python2.7/dist-packages"
2023-05-27 12:00:13,697 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = trac.mimeview.txtl [textile]": DistributionNotFound: The 'textile<4.0,>=2
if you dont uses it forget about it :)
anway did you install 1.4 in beside the old 1.2 without using virtual envs ? if so that might be causing troubles too. I would recommend to use an virtual env to set up 1.4 to get a clean install and try to figure out problems from there.
Cheers
MArkus