Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Franck Villaume on 2017-12-04 14:10
[forum:1074]
hi,

can you provide the full content of database_changes?
I'm surprise that you have 2012* script where 2011* needs to be execute.

Best,
Franck

RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Andre Morrby on 2017-12-04 12:53
[forum:1073]
root@test:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.9 (jessie)
Release: 8.9
Codename: jessie

root@test:~# psql --version
psql (PostgreSQL) 9.4.15


fusionforge-5.3.2

scmgit:20121128-drop-old-tables.sql

RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Franck Villaume on 2017-11-24 15:34
[forum:1068]
thanks for the file.

What version of debian are you using? Jessie I suppose. Is it fully uptodate?
What version of postgresql?
What version of fusionforge are you using?
What is the last entry in database_changes table?

RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Andre Morrby on 2017-11-24 15:12
[forum:1067]

forum_attachment (3) downloads
Se the attached file.

RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Franck Villaume on 2017-11-22 19:36
[forum:1066]
Can you provide me the description of the forum_attachment table?

RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Franck Villaume on 2017-11-22 09:50
[forum:1065]
Got the attachment.
Looks like there are some errors with this script:
Running script: 20111017-schema-convergence-from-nondeb.sql
SQL: ALTER TABLE forum_attachment DROP CONSTRAINT "$1";
SQL> ERROR: constraint "$1" of relation "forum_attachment" does not exist
ERROR: constraint "$1" of relation "forum_attachment" does not exist
QUERY: ALTER TABLE forum_attachment DROP CONSTRAINT "$1";
Continue executing ([Y]es/[N]o)?
Y

I need to investigate a little bit. I get back to you asap.

RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Andre Morrby on 2017-11-22 09:44
[forum:1064]

apt.log (4) downloads
Looks like you're right.
Se if it is working now.

RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Franck Villaume on 2017-11-22 09:33
[forum:1063]
looks like there is no attachment. Am I wrong?

RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Andre Morrby on 2017-11-22 09:04
[forum:1062]
I have attached the full log.

RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Franck Villaume on 2017-11-22 08:48
[forum:1061]
That is strange. It looks like the fusionforge-db-local package cannot run some upgrade scripts.

Can you provide the full log of deb installation ?

RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Andre Morrby on 2017-11-22 08:19
[forum:1060]

apt-error.log (2) downloads
Okay, when I install from deb http://fusionforge.fusionforge.org/deb/ jessie-6.0/ I get some new errors:
Errors were encountered while processing:
fusionforge-db-local
gforge-db-postgresql
fusionforge-web
fusionforge
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have include some more errors in the attached file.

Have I missed something?

RE: Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Franck Villaume on 2017-11-15 10:54
[forum:1059]
Hi,

the issue is due to PHP7.
The current fusionforge version available in Debian Official Repo is a little old.
You may want to use the autopublished packages from FusionForge DEB repo: https://fusionforge.org/plugins/mediawiki/wiki/fusionforge/index.php/DEB_Installation#Autobuilt_packages_from_the_project

Upgrade from fusionforge 5.3 to 6 [ Reply ]
By: Andre Morrby on 2017-11-14 22:07
[forum:1058]
I have taken over an VM running fusionforge and now want to upgrade it to verison 6.
The VM is running Debian 8.

I have installed fusionforge from backports: apt-get install -t jessie-backports fusionforge

When I run the post install script (/usr/share/fusionforge/bin/post-install.sh) i get the following error:
PHP Fatal error: Class 'FFError' not found in /usr/share/fusionforge/plugins/contribtracker/common/ContribTrackerPlugin.class.php on line 275

I'm new to fusionforge so I'm pretty sure i have missed something of importance.