Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
howto.doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Documentations
howto.doc
Commits
28a66975
Commit
28a66975
authored
5 years ago
by
ines mkacher
Browse files
Options
Downloads
Patches
Plain Diff
Update bddcheck.md
parent
b528bcd4
No related branches found
Branches containing commit
No related tags found
2 merge requests
!14
Mise à jour arborescence
,
!13
1.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
troubleshooting/bddcheck.md
+5
-31
5 additions, 31 deletions
troubleshooting/bddcheck.md
with
5 additions
and
31 deletions
troubleshooting/bddcheck.md
+
5
−
31
View file @
28a66975
...
...
@@ -345,7 +345,6 @@ root@MaarchCourrier:/var/www/MaarchCourrier/custom/cs_MaarchCourrier/apps/maarch
Fatal error: Uncaught PDOException: SQLSTATE[23505]: Unique violation: 7 ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « contacts_v2_pkey » DETAIL: La clé « (contact_id)=(214) » existe déjà. in /var/www/html/MaarchCourrierProduction/core/class/class_db_pdo.php:387 Stack trace: #0 /var/www/html/MaarchCourrierProduction/core/class/class_db_pdo.php(387): PDOStatement->execute(Array) #1 /var/www/html/MaarchCourrierProduction/apps/maarch_entreprise/class/class_contacts_v2_Abstract.php(296): Database->query('INSERT INTO con...', Array) #2 /var/www/html/MaarchCourrierProduction/apps/maarch_entreprise/my_contacts/my_contact_up_db.php(39): contacts_v2_Abstract->addupcontact('add', false, 'Y', 'iframe') #3 /var/www/html/MaarchCourrierProduction/core/class/class_core_tools.php(1652): require('/var/www/html/M...') #4 /var/www/html/MaarchCourrierProduction/apps/maarch_entreprise/index.php(212): core_tools->insert_page() #5 {main} thrown in /var/www/html/MaarchCourrierProduction/core/class/class_db_pdo.php on line 387
```
```
=# select * from contact_v2_id_seq;
-[ RECORD 1 ]-+--------------------
...
...
@@ -359,8 +358,9 @@ cache_value | 1
log_cnt | 32
is_cycled | f
is_called | t
```
```
=# alter sequence contact_v2_id_seq restart with 2028;
ALTER SEQUENCE
...
...
@@ -380,11 +380,11 @@ is_cycled | f
is_called | f
```
```
SELECT nextval('seq_nuu_filtreelement')
```
```
493 service apache2 restart
494 service apache2 status
...
...
@@ -397,22 +397,9 @@ UPDATE 1
maarch=# update notif_email_stack set exec_date = null where email_stack_sid = 14158;
UPDATE 1
maarch=# \q
$ php 'process_email_stack.php' -c /var/www/html/maarch_courrier/custom/cs_maarch/modules/notifications/batch/config/config.xml
maarch@maarch-debian:/var/www/html/maarch_courrier/modules/notifications/batch$ psql
psql (9.4.13)
Saisissez « help » pour l'aide.
maarch=# select * from notif_email_stack order by email_stack_sid desc limit 5;
maarch=# \x
Affichage étendu activé.
maarch=# select * from notif_email_stack order by email_stack_sid desc limit 5;
maarch=# update notif_email_stack set recipient = 'melissa.olive@
ville-agde
.fr' where email_stack_sid = 14158;
maarch=# update notif_email_stack set recipient = 'melissa.olive@
maarchlesbains
.fr' where email_stack_sid = 14158;
UPDATE 1
maarch=# update notif_email_stack set exec_date = null where email_stack_sid = 14158;
...
...
@@ -426,13 +413,6 @@ maarch=# \q
```
maarch@maarch-debian:/var/www/html/maarch_courrier/modules/notifications/batch$ psql
psql (9.4.13)
Saisissez « help » pour l'aide.
maarch=# \x
Affichage étendu activé.
maarch=# select * from notif_email_stack order by email_stack_sid desc limit 5;
maarch=# update notif_email_stack set exec_result = '' where email_stack_sid = 14158;
...
...
@@ -450,12 +430,6 @@ l
```
maarch@maarch-debian:/var/www/html/maarch_courrier/modules/notifications/batch$ psql
psql (9.4.13)
Saisissez « help » pour l'aide.
maarch=# \x
Affichage étendu activé.
maarch=# update notif_email_stack set exec_date = null where email_stack_sid = 14158;
UPDATE 1
...
...
@@ -463,7 +437,7 @@ UPDATE 1
maarch=# update notif_email_stack set exec_result = '' where email_stack_sid = 14158;
UPDATE 1
maarch=# update notif_email_stack set recipient = 'paul.bring
uier@ville-agde
.fr' where email_stack_sid = 14158;
maarch=# update notif_email_stack set recipient = 'paul.bring
e@maarchlesbains
.fr' where email_stack_sid = 14158;
UPDATE 1
maarch=# select * from notif_email_stack order by email_stack_sid desc limit 5;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment