J’ai déjà effectué ces manips, ça ne change rien au problème.
Par contre, dans le fichier /var/www/gotify/config.yml quel que soit le nom d’utilisateur et mot de passe que je mets (différent à chaque fois pour tester), je peux toujours me connecter avec Version 2.8.0~ynh1 et toujours rien avec Version 2.9.0~ynh1.
Il y a quelque chose qui bloque, mais je ne sais pas où.
Dans la sauvegarde, gotify-pre-upgrade1 (Version 2.8.0~ynh1), j’ai récupéré ce fichier db.sql et je me demandais s’il n’y avait pas un truc là-dedans qui pourrait m’aider.
/*M!999999\- enable the sandbox mode */
-- MariaDB dump 10.19 Distrib 10.11.14-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: gotify
-- ------------------------------------------------------
-- Server version 10.11.14-MariaDB-0+deb12u2
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `applications`
--
DROP TABLE IF EXISTS `applications`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `applications` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`token` varchar(180) DEFAULT NULL,
`user_id` bigint(20) unsigned DEFAULT NULL,
`name` text DEFAULT NULL,
`description` text DEFAULT NULL,
`internal` tinyint(1) DEFAULT NULL,
`image` text DEFAULT NULL,
`default_priority` bigint(20) DEFAULT NULL,
`last_used` datetime(3) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uix_applications_id` (`id`),
UNIQUE KEY `uix_applications_token` (`token`),
KEY `idx_applications_user_id` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `applications`
--
LOCK TABLES `applications` WRITE;
/*!40000 ALTER TABLE `applications` DISABLE KEYS */;
INSERT INTO `applications` VALUES
(2,'xxxxxxxxxxxxxxx',1,'Message_Gotify','Title_gotify',0,'im01.png',5,'datetime'),
(5,'xxxxxxxxxxxxxxx',1,'Message_Gotify','Title_gotify',0,'im01.png.uPl.png',5,'datetime'),
(7,'xxxxxxxxxxxxxxx',1,'Message_Gotify','Title_gotify',0,'im01.png.png',5,'datetime'),
(8,'xxxxxxxxxxxxxxx',1,'Message_Gotify','Title_gotify',0,'im01.png.png',5,'datetime'),
(23,'xxxxxxxxxxxxxxx',1,'Message_Gotify','Title_gotify',0,'im01.png.png',5,'datetime'),
(24,'xxxxxxxxxxxxxxx',1,'Message_Gotify','Title_gotify',0,'im01.png.D.png',5,'datetime'),
(25,'xxxxxxxxxxxxxxx',1,'Message_Gotify','Title_gotify',0,'im01.png-172ZT.png',5,'datetime'),
(26,'xxxxxxxxxxxxxxx',1,'Message_Gotify','Title_gotify',0,'im01.png.png',5,'datetime'),
(27,'xxxxxxxxxxxxxxx',1,'Message_Gotify','Title_gotify',0,'im01.png.png',5,'datetime'),
(28,'xxxxxxxxxxxxxxx',1,'Message_Gotify','Title_gotify',0,'p.im01.png.png',5,'datetime');
/*!40000 ALTER TABLE `applications` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `clients`
--
DROP TABLE IF EXISTS `clients`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `clients` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`token` varchar(180) DEFAULT NULL,
`user_id` bigint(20) unsigned DEFAULT NULL,
`name` text DEFAULT NULL,
`last_used` datetime(3) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uix_clients_id` (`id`),
UNIQUE KEY `uix_clients_token` (`token`),
KEY `idx_clients_user_id` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=152 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `clients`
--
LOCK TABLES `clients` WRITE;
/*!40000 ALTER TABLE `clients` DISABLE KEYS */;
INSERT INTO `clients` VALUES
(101,'xxxxxxxxxxxxxxx',1,'smartphone','datetime'),
(133,'xxxxxxxxxxxxxxx',1,'smartphone','datetime'),
(142,'xxxxxxxxxxxxxxx',1,'smartphone','datetime');
/*!40000 ALTER TABLE `clients` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `messages`
--
DROP TABLE IF EXISTS `messages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `messages` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`application_id` bigint(20) unsigned DEFAULT NULL,
`message` text DEFAULT NULL,
`title` text DEFAULT NULL,
`priority` bigint(20) DEFAULT NULL,
`extras` longblob DEFAULT NULL,
`date` datetime(3) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_messages_id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=84305 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `messages`
--
LOCK TABLES `messages` WRITE;
/*!40000 ALTER TABLE `messages` DISABLE KEYS */;
INSERT INTO `messages` VALUES
(84303,2,'Message_Gotify','Title_gotify',5,NULL,'datetime'),
(84304,25,'Message_Gotify','Title_gotify',5,NULL,'datetime');
/*!40000 ALTER TABLE `messages` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `plugin_confs`
--
DROP TABLE IF EXISTS `plugin_confs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `plugin_confs` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) unsigned DEFAULT NULL,
`module_path` text DEFAULT NULL,
`token` varchar(180) DEFAULT NULL,
`application_id` bigint(20) unsigned DEFAULT NULL,
`enabled` tinyint(1) DEFAULT NULL,
`config` longblob DEFAULT NULL,
`storage` longblob DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uix_plugin_confs_token` (`token`),
KEY `idx_plugin_confs_id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `plugin_confs`
--
LOCK TABLES `plugin_confs` WRITE;
/*!40000 ALTER TABLE `plugin_confs` DISABLE KEYS */;
/*!40000 ALTER TABLE `plugin_confs` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(180) DEFAULT NULL,
`pass` longblob DEFAULT NULL,
`admin` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uix_users_id` (`id`),
UNIQUE KEY `uix_users_name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES
(1,'username','$xx$xx$xxxxxx/xxxxxxxxxxx.xxxxxxxxxxxx./xxxxxxxx.xxxxxxxxxx',1);
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Dumping routines for database 'gotify'
--
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed