millilenium
Benutzer
- Mitglied seit
- 03. Feb 2014
- Beiträge
- 168
- Punkte für Reaktionen
- 4
- Punkte
- 18
=>kopano4s-downgrade und dann die Default installieren..
-TosoBoso
Hallo TosoBoso, sorry für die dumme Frage - aber wie genau ist das Downgrade zu vollziehen? Es gibt mehrere Posts dazu aber keinen für mich klaren weg.
- kopano4s-backup
- kopano4s-downgrade
- Paket löschen - stable installieren
- Datenbank restore?
> $ kopano4s-downgrade help
Usage: kopano4s-upgrade plus start | atm-on-fs | help. (switch to attachments on file system by 'atm-on-fs')
Migrating Kopano Editions Community or Supported with higher release number by means of downgrade in 4 steps
Step 1: database backup as a fallback running kopano4a-backup restore timestamp to recover if this job fails.
Step 2: mapi brick-level method kopano-backup for importing users into older database version later.
Step 3: truncate kopano database, restart with default edition which will recreate database ready for import
Step 4: import of users via kopnao4s-restore-user all setting old password.
This is an all-in one scripted solution taking away the pain of loading different k4s version and running backup utilities.
It reccomended to run this sript via Synology task scheduler to avoid time-out before completion when running via terminal
It is required to have an initial brick level kopano-backup run to allow shorter total runtime of this script.
[TABLE]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 20:08:06 2020: [=======] Server shutdown complete.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 20:08:06 2020: [warning] Warning, you can lose data! If you don't know what you're doing, you shouldn't be using this option![/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 20:08:06 2020: [warning] You can force the server to start with --ignore-database-version-conflict[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 20:08:06 2020: [warning] WARNING: Database version (8,7,80,0,118) is newer than the server version (8,7,14,0,118)[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]exiting as server stopped; if non-grace shutdown see last entry from /var/log/kopano/server.log and consider kopano4s-init reset or re-install[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]staying alive while kopano service is running..[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]Starting periodic command scheduler: cron.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]rsyslogd: run failed with error -3000 (see rsyslog.h or try https://www.rsyslog.com/e/3000 to learn what that number means)[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]different pid files for them (-i option).[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]If you want to run multiple instances of rsyslog, you need to specify[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]rsyslogd: pidfile '/run/rsyslogd.pid' and pid 296 already exist.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]Starting enhanced syslogd: rsyslogd already started.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano sys ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]Starting mail retriever agent: fetchmail.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]Removing stale PID file /var/run/fetchmail/fetchmail.pid. ... (warning).[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:08[/TD]
[TD]stdout[/TD]
[TD]Starting Postfix Mail Transport Agent: postfix.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:07[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano mail ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:07[/TD]
[TD]stdout[/TD]
[TD]Starting nginx: nginx.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:07[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano web ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:07[/TD]
[TD]stdout[/TD]
[TD]Starting gateway: kopano-gateway.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:07[/TD]
[TD]stdout[/TD]
[TD]Starting search: kopano-search.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:06[/TD]
[TD]stdout[/TD]
[TD]Starting LMTP dagent: kopano-dagent.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:06[/TD]
[TD]stdout[/TD]
[TD]Starting spooler: kopano-spooler.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:06[/TD]
[TD]stdout[/TD]
[TD]Starting server: kopano-server.[/TD]
[/TR]
[TR]
[TD]2020-09-23 18:08:06[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano core ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 19:51:44 2020: [=======] Server shutdown complete.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 19:51:44 2020: [warning] Warning, you can lose data! If you don't know what you're doing, you shouldn't be using this option![/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 19:51:44 2020: [warning] You can force the server to start with --ignore-database-version-conflict[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 19:51:44 2020: [warning] WARNING: Database version (8,7,80,0,118) is newer than the server version (8,7,14,0,118)[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]exiting as server stopped; if non-grace shutdown see last entry from /var/log/kopano/server.log and consider kopano4s-init reset or re-install[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]staying alive while kopano service is running..[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]Starting periodic command scheduler: cron.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]Starting enhanced syslogd: rsyslogd.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano sys ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]Starting mail retriever agent: fetchmail.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]Removing stale PID file /var/run/fetchmail/fetchmail.pid. ... (warning).[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:46[/TD]
[TD]stdout[/TD]
[TD]Starting Postfix Mail Transport Agent: postfix.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:45[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano mail ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:45[/TD]
[TD]stdout[/TD]
[TD]Starting nginx: nginx.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:45[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano web ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:45[/TD]
[TD]stdout[/TD]
[TD]Starting gateway: kopano-gateway.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:45[/TD]
[TD]stdout[/TD]
[TD]Starting search: kopano-search.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:44[/TD]
[TD]stdout[/TD]
[TD]Starting LMTP dagent: kopano-dagent.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:44[/TD]
[TD]stdout[/TD]
[TD]Starting spooler: kopano-spooler.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:44[/TD]
[TD]stdout[/TD]
[TD]Starting server: kopano-server.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:51:44[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano core ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:39[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 19:50:35 2020: [=======] Server shutdown complete.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:39[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 19:50:35 2020: [warning] Warning, you can lose data! If you don't know what you're doing, you shouldn't be using this option![/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:39[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 19:50:35 2020: [warning] You can force the server to start with --ignore-database-version-conflict[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:39[/TD]
[TD]stdout[/TD]
[TD]Wed Sep 23 19:50:35 2020: [warning] WARNING: Database version (8,7,80,0,118) is newer than the server version (8,7,14,0,118)[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:39[/TD]
[TD]stdout[/TD]
[TD]exiting as server stopped; if non-grace shutdown see last entry from /var/log/kopano/server.log and consider kopano4s-init reset or re-install[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:39[/TD]
[TD]stdout[/TD]
[TD]staying alive while kopano service is running..[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:39[/TD]
[TD]stdout[/TD]
[TD]Restarting nginx: nginx.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:38[/TD]
[TD]stdout[/TD]
[TD]Starting periodic command scheduler: cron.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:38[/TD]
[TD]stdout[/TD]
[TD]Starting enhanced syslogd: rsyslogd.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:37[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano sys ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:37[/TD]
[TD]stdout[/TD]
[TD]Starting mail retriever agent: fetchmail.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:37[/TD]
[TD]stdout[/TD]
[TD]Starting Postfix Mail Transport Agent: postfix.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:37[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano mail ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:36[/TD]
[TD]stdout[/TD]
[TD]Starting nginx: nginx.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:36[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano web ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:36[/TD]
[TD]stdout[/TD]
[TD]Starting gateway: kopano-gateway.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:36[/TD]
[TD]stdout[/TD]
[TD]Starting search: kopano-search.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:36[/TD]
[TD]stdout[/TD]
[TD]Starting LMTP dagent: kopano-dagent.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:35[/TD]
[TD]stdout[/TD]
[TD]Starting spooler: kopano-spooler.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:35[/TD]
[TD]stdout[/TD]
[TD]Starting server: kopano-server.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:35[/TD]
[TD]stdout[/TD]
[TD]Starting Kopano core ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:35[/TD]
[TD]stdout[/TD]
[TD]Active services: kopano-server kopano-spooler kopano-dagent kopano-search kopano-gateway postfix fetchmail nginx php7.3-fpm[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:11[/TD]
[TD]stderr[/TD]
[TD]chmod: cannot access '/var/log/kopano/amavis.log': No such file or directory[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:05[/TD]
[TD]stderr[/TD]
[TD]chown: cannot access '/var/log/kopano/amavis.log': No such file or directory[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:05[/TD]
[TD]stderr[/TD]
[TD]chmod: cannot access '/etc/kopano/ssl/clients/*': No such file or directory[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:05[/TD]
[TD]stdout[/TD]
[TD]Starting mail retriever agent: fetchmail.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:04[/TD]
[TD]stdout[/TD]
[TD]Done.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:04[/TD]
[TD]stdout[/TD]
[TD]Adding user fetchmail to group kopano[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:04[/TD]
[TD]stdout[/TD]
[TD]Adding user `fetchmail' to group `kopano' ...[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:04[/TD]
[TD]stdout[/TD]
[TD]init: enable fetchmail in kopano-default, add it to dagent local_admin_users and start it..[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:04[/TD]
[TD]stdout[/TD]
[TD]setting acl, ssl, fetchmail and plugins..[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:04[/TD]
[TD]stderr[/TD]
[TD]Generation complete.[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:50:04[/TD]
[TD]stderr[/TD]
[TD] en_US.UTF-8... done[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:49:56[/TD]
[TD]stderr[/TD]
[TD] en_GB.UTF-8... done[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:49:48[/TD]
[TD]stderr[/TD]
[TD] de_DE.UTF-8... done[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:49:40[/TD]
[TD]stderr[/TD]
[TD]Generating locales (this might take a while)...[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:49:36[/TD]
[TD]stdout[/TD]
[TD]increasing php upload_max_filesize to 15M..[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:49:36[/TD]
[TD]stdout[/TD]
[TD]increasing file-limits for user kopano adn www-data running sockets..[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:49:36[/TD]
[TD]stderr[/TD]
[TD]usermod: no changes[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:49:36[/TD]
[TD]stdout[/TD]
[TD]modifying kopano user and group ids (1080 / 65550) plus file limits ..[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:49:35[/TD]
[TD]stdout[/TD]
[TD]initializing virtual aliases and pwd e.g. for proxy..[/TD]
[/TR]
[TR]
[TD]2020-09-23 17:49:35[/TD]
[TD]stdout[/TD]
[TD]image intializing UID, GID, etc-cfg, log, ssl, post-build[/TD]
[/TR]
[/TABLE]
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.