Loading...
 
Skip to main content

Creating a new SVN/GIT instance using the web manager doesn’t work ( CLI worked)

Status
Closed
Subject
Creating a new SVN/GIT instance using the web manager doesn’t work ( CLI worked)
Version
20.x
21.x
Category
  • Consistency
  • Error
Feature
TRIM
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

I create an 2 new instances (one using SVN one using GIT) using the CLI interface and it worked:

installing trunk using CLI
Copy to clipboard
[root@server app]# php tiki-manager instance:create Create a new instance ===================== .../... [OK] Please test your site at https://xxxx.xxxx.com


Doing the same (installing 20.x) using the web manager interface I got an error:

Image

Image


Database information question ?


I don’t usually use root for the database but I tried to check if there was a permission issues.
I filled information based on : https://doc.tiki.org/Manager#instance:create

The database part need little documentation or tips.
It differs from the way we use the Tiki-install.

What is expected ?
Does Tiki Manager create the db, does it expect the db to be created prior the instance creation ?
I usually create my db for each Tiki with specific USER/DB/PASSWORD directly.

The field "Database Prefix" is adding to the confusion. Why a prefix ?
Can’t I directly give my database name ?


Import an existing Tiki throw me the same error:

Copy to clipboard
SQLSTATE[HY000]: General error: 8 attempt to write a readonly database INSERT OR REPLACE INTO instance (instance_id, name, contact, webroot, weburl, tempdir, phpexec, app) VALUES (NULL, 'gallery.xxxxx.com', 'me@xxxxx.com', '/var/www/virtual/gallery.xxxxx.com/html', 'https://gallery.xxxxx.com', '/tmp/trim_temp', NULL, NULL) ; 


Is there a CLI command to import an existing Tiki ?

Solution
Should be re-tested completely
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
7204
Created
Wednesday 06 November, 2019 09:28:37 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Sunday 04 July, 2021 11:46:56 UTC


Collapse/expand modules below
Show PHP error messages