[SOLVED] APP update does not work anymore

oh i did it as you said … one after another… so I can´t tell which command did it… :frowning:


please have a look here :

yunohost service log matrix-synapse                                                                                                      
/var/log/matrix-synapse/homeserver.log: 
  - 2020-09-17 00:12:56,771 - twisted - 192 - ERROR - -   File "/usr/lib/python3.5/runpy.py", line 85, in _run_code                                          
  - 2020-09-17 00:12:56,774 - twisted - 192 - ERROR - -     exec(code, run_globals)                                                                          
  - 2020-09-17 00:12:56,774 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 687
, in <module>                                                                                                                                                
  - 2020-09-17 00:12:56,778 - twisted - 192 - ERROR - -     main()                                                                                           
  - 2020-09-17 00:12:56,778 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 682
, in main                                                                                                                                                    
  - 2020-09-17 00:12:56,780 - twisted - 192 - ERROR - -     hs = setup(sys.argv[1:])                                                                         
  - 2020-09-17 00:12:56,782 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 375
, in setup                                                                                                                                                   
  - 2020-09-17 00:12:56,784 - twisted - 192 - ERROR - -     hs.setup()                                                                                       
  - 2020-09-17 00:12:56,785 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/server.py", line 283, in set
up                                                                                                                                                           
  - 2020-09-17 00:12:56,787 - twisted - 192 - ERROR - -     self.datastores = DataStores(self.DATASTORE_CLASS, self)                                         
  - 2020-09-17 00:12:56,788 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/storage/data_stores/__init__
.py", line 49, in __init__                                                                                                                                   
  - 2020-09-17 00:12:56,789 - twisted - 192 - ERROR - -     with make_conn(database_config, engine) as db_conn:                                              
  - 2020-09-17 00:12:56,790 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/storage/database.py", line 1
10, in make_conn                                                                                                                                             
  - 2020-09-17 00:12:56,791 - twisted - 192 - ERROR - -     db_conn = engine.module.connect(**db_params)                                                     
  - 2020-09-17 00:12:56,792 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/psycopg2/__init__.py", line 127, in 
connect                                                                                                                                                      
  - 2020-09-17 00:12:56,794 - twisted - 192 - ERROR - -     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)                           
  - 2020-09-17 00:12:56,795 - twisted - 192 - ERROR - - psycopg2.OperationalError: could not connect to server: Connection refused                           
  - 2020-09-17 00:12:56,796 - twisted - 192 - ERROR - -         Is the server running on host "localhost" (127.0.0.1) and accepting                          
  - 2020-09-17 00:12:56,797 - twisted - 192 - ERROR - -         TCP/IP connections on port 5432?                                                             
  - 2020-09-17 00:12:56,797 - twisted - 192 - ERROR - -                                                                                                      
  - 2020-09-17 00:13:04,171 - twisted - 192 - INFO - None- Redirected stdout/stderr to logs                                                                  
  - 2020-09-17 00:13:04,172 - root - 257 - WARNING - None- ***** STARTING SERVER *****                                                                       
  - 2020-09-17 00:13:04,174 - root - 258 - WARNING - None- Server /opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py version 
1.18.0                                                                                                                                                       
  - 2020-09-17 00:13:04,175 - root - 259 - INFO - None- Server hostname: lokal.social                                                                        
  - 2020-09-17 00:13:04,177 - root - 260 - INFO - None- Instance name: master                                                                                
  - 2020-09-17 00:13:04,177 - synapse.app.homeserver - 372 - INFO - None- Setting up server                                                                  
  - 2020-09-17 00:13:04,177 - synapse.server - 281 - INFO - None- Setting up.                                                                                
  - 2020-09-17 00:13:04,193 - twisted - 192 - ERROR - - Traceback (most recent call last):                                                                   
  - 2020-09-17 00:13:04,193 - twisted - 192 - ERROR - -   File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main                               
  - 2020-09-17 00:13:04,193 - twisted - 192 - ERROR - -     "__main__", mod_spec)                                                                            
  - 2020-09-17 00:13:04,194 - twisted - 192 - ERROR - -   File "/usr/lib/python3.5/runpy.py", line 85, in _run_code                                          
  - 2020-09-17 00:13:04,194 - twisted - 192 - ERROR - -     exec(code, run_globals)                                                                          
  - 2020-09-17 00:13:04,194 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 687
, in <module>                                                                                                                                                
  - 2020-09-17 00:13:04,195 - twisted - 192 - ERROR - -     main()                                                                                           
  - 2020-09-17 00:13:04,195 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 682
, in main                                                                                                                                                    
  - 2020-09-17 00:13:04,196 - twisted - 192 - ERROR - -     hs = setup(sys.argv[1:])                                                                         
  - 2020-09-17 00:13:04,196 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 375
, in setup                                                                                                                                                   
  - 2020-09-17 00:13:04,197 - twisted - 192 - ERROR - -     hs.setup()                                                                                       
  - 2020-09-17 00:13:04,197 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/server.py", line 283, in set
up                                                                                                                                                           
  - 2020-09-17 00:13:04,197 - twisted - 192 - ERROR - -     self.datastores = DataStores(self.DATASTORE_CLASS, self)                                         
  - 2020-09-17 00:13:04,198 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/storage/data_stores/__init__
.py", line 49, in __init__                                                                                                                                   
  - 2020-09-17 00:13:04,198 - twisted - 192 - ERROR - -     with make_conn(database_config, engine) as db_conn:                                              
  - 2020-09-17 00:13:04,198 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/storage/database.py", line 1
10, in make_conn                                                                                                                                             
  - 2020-09-17 00:13:04,199 - twisted - 192 - ERROR - -     db_conn = engine.module.connect(**db_params)                                                     
  - 2020-09-17 00:13:04,200 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/psycopg2/__init__.py", line 127, in 
connect                                                                                                                                                      
  - 2020-09-17 00:13:04,200 - twisted - 192 - ERROR - -     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)                           
  - 2020-09-17 00:13:04,200 - twisted - 192 - ERROR - - psycopg2.OperationalError: could not connect to server: Connection refused                           
  - 2020-09-17 00:13:04,200 - twisted - 192 - ERROR - -         Is the server running on host "localhost" (127.0.0.1) and accepting                          
  - 2020-09-17 00:13:04,200 - twisted - 192 - ERROR - -         TCP/IP connections on port 5432?                                                             
  - 2020-09-17 00:13:04,201 - twisted - 192 - ERROR - -                                                                                                      
journalctl: 
  - -- Logs begin at Wed 2020-09-16 19:46:36 CEST, end at Thu 2020-09-17 00:13:04 CEST. --                                                                   
  - Sep 17 00:12:56 python[21830]: 2020-09-17 00:12:56,790 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synap
se/storage/database.py", line 110, in make_conn                                                                                                              
  - Sep 17 00:12:56 python[21830]: 2020-09-17 00:12:56,791 - twisted - 192 - ERROR - -     db_conn = engine.module.connect(**db_params)                      
  - Sep 17 00:12:56 python[21830]: 2020-09-17 00:12:56,792 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/psyco
pg2/__init__.py", line 127, in connect                                                                                                                       
  - Sep 17 00:12:56 python[21830]: 2020-09-17 00:12:56,794 - twisted - 192 - ERROR - -     conn = _connect(dsn, connection_factory=connection_factory, **kwas
ync)                                                                                                                                                         
  - Sep 17 00:12:56 python[21830]: 2020-09-17 00:12:56,795 - twisted - 192 - ERROR - - psycopg2.OperationalError: could not connect to server: Connection ref
used                                                                                                                                                         
  - Sep 17 00:12:56 python[21830]: 2020-09-17 00:12:56,796 - twisted - 192 - ERROR - -         Is the server running on host "localhost" (127.0.0.1) and acce
pting                                                                                                                                                        
  - Sep 17 00:12:56 python[21830]: 2020-09-17 00:12:56,797 - twisted - 192 - ERROR - -         TCP/IP connections on port 5432?                              
  - Sep 17 00:12:56 python[21830]: 2020-09-17 00:12:56,797 - twisted - 192 - ERROR - -                                                                       
  - Sep 17 00:12:57 systemd[1]: matrix-synapse.service: Main process exited, code=exited, status=1/FAILURE                                                   
  - Sep 17 00:12:57 systemd[1]: matrix-synapse.service: Unit entered failed state.                                                                           
  - Sep 17 00:12:57 systemd[1]: matrix-synapse.service: Failed with result 'exit-code'.                                                                      
  - Sep 17 00:13:00 systemd[1]: matrix-synapse.service: Service hold-off time over, scheduling restart.                                                      
  - Sep 17 00:13:00 systemd[1]: Stopped Synapse Matrix homeserver.                                                                                           
  - -- Subject: Unit matrix-synapse.service has finished shutting down                                                                                       
  - -- Defined-By: systemd                                                                                                                                   
  - -- Support: https://www.debian.org/support                                                                                                               
  - --                                                                                                                                                       
  - -- Unit matrix-synapse.service has finished shutting down.                                                                                               
  - Sep 17 00:13:00 systemd[1]: Starting Synapse Matrix homeserver...                                                                                        
  - -- Subject: Unit matrix-synapse.service has begun start-up                                                                                               
  - -- Defined-By: systemd                                                                                                                                   
  - -- Support: https://www.debian.org/support                                                                                                               
  - --                                                                                                                                                       
  - -- Unit matrix-synapse.service has begun starting up.                                                                                                    
  - Sep 17 00:13:02 systemd[1]: Started Synapse Matrix homeserver.                                                                                           
  - -- Subject: Unit matrix-synapse.service has finished start-up                                                                                            
  - -- Defined-By: systemd                                                                                                                                   
  - -- Support: https://www.debian.org/support                                                                                                               
  - --                                                                                                                                                       
  - -- Unit matrix-synapse.service has finished starting up.                                                                                                 
  - --                                                                                                                                                       
  - -- The start-up result is done.                                                                                                                          
  - Sep 17 00:13:04 python[21857]: This server is configured to use 'matrix.org' as its trusted key server via the                                           
  - Sep 17 00:13:04 python[21857]: 'trusted_key_servers' config option. 'matrix.org' is a good choice for a key                                              
  - Sep 17 00:13:04 python[21857]: server since it is long-lived, stable and trusted. However, some admins may                                               
  - Sep 17 00:13:04 python[21857]: wish to use another server for this purpose.                                                                              
  - Sep 17 00:13:04 python[21857]: To suppress this warning and continue using 'matrix.org', admins should set                                               
  - Sep 17 00:13:04 python[21857]: 'suppress_key_server_warning' to 'true' in homeserver.yaml.                                                               
  - Sep 17 00:13:04 python[21857]: --------------------------------------------------------------------------------                                          
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,172 - root - 257 - WARNING - None- ***** STARTING SERVER *****                                        
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,174 - root - 258 - WARNING - None- Server /opt/yunohost/matrix-synapse/lib/python3.5/site-packages/syn
apse/app/homeserver.py version 1.18.0                                                                                                                        
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,193 - twisted - 192 - ERROR - - Traceback (most recent call last):                                    
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,193 - twisted - 192 - ERROR - -   File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,193 - twisted - 192 - ERROR - -     "__main__", mod_spec)                                             
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,194 - twisted - 192 - ERROR - -   File "/usr/lib/python3.5/runpy.py", line 85, in _run_code           
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,194 - twisted - 192 - ERROR - -     exec(code, run_globals)                                           
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,194 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synap
se/app/homeserver.py", line 687, in <module>                                                                                                                 
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,195 - twisted - 192 - ERROR - -     main()                                                            
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,195 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synap
se/app/homeserver.py", line 682, in main                                                                                                                     
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,196 - twisted - 192 - ERROR - -     hs = setup(sys.argv[1:])                                          
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,196 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synap
se/app/homeserver.py", line 375, in setup                                                                                                                    
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,197 - twisted - 192 - ERROR - -     hs.setup()                                                        
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,197 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synap
se/server.py", line 283, in setup                                                                                                                            
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,197 - twisted - 192 - ERROR - -     self.datastores = DataStores(self.DATASTORE_CLASS, self)          
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,198 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synap
se/storage/data_stores/__init__.py", line 49, in __init__                                                                                                    
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,198 - twisted - 192 - ERROR - -     with make_conn(database_config, engine) as db_conn:               
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,198 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synap
se/storage/database.py", line 110, in make_conn                                                                                                              
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,199 - twisted - 192 - ERROR - -     db_conn = engine.module.connect(**db_params)                      
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,200 - twisted - 192 - ERROR - -   File "/opt/yunohost/matrix-synapse/lib/python3.5/site-packages/psyco
pg2/__init__.py", line 127, in connect                                                                                                                       
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,200 - twisted - 192 - ERROR - -     conn = _connect(dsn, connection_factory=connection_factory, **kwas
ync)                                                                                                                                                         
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,200 - twisted - 192 - ERROR - - psycopg2.OperationalError: could not connect to server: Connection ref
used                                                                                                                                                         
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,200 - twisted - 192 - ERROR - -         Is the server running on host "localhost" (127.0.0.1) and acce
pting                                                                                                                                                        
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,200 - twisted - 192 - ERROR - -         TCP/IP connections on port 5432?                              
  - Sep 17 00:13:04 python[21857]: 2020-09-17 00:13:04,201 - twisted - 192 - ERROR - -                                                                       
  - Sep 17 00:13:04 systemd[1]: matrix-synapse.service: Main process exited, code=exited, status=1/FAILURE                                                   
  - Sep 17 00:13:04 systemd[1]: matrix-synapse.service: Unit entered failed state.                                                                           
  - Sep 17 00:13:04 systemd[1]: matrix-synapse.service: Failed with result 'exit-code'.