Sentora Support Forums

Full Version: repo browser (subversion)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
so i found out there is a subversion module in the repo browser module and i couldn't find instructions on how to use/install is there any and if not can someone add it and if it does not work can someone update it to work with subversion for ubuntu

also thank you for any help you can provide
(05-19-2016, 11:44 AM)type-00 Wrote: [ -> ]so i found out there is a subversion module in the repo browser module and i couldn't find instructions on how to use/install is there any and if not can someone add it and if it does not work can someone update it to work with subversion for ubuntu

also thank you for any help you can provide

The subversion module was written for zPanel and I am not sure if it has been updated for Sentora by the aurhor Sad
How hard would it be to update it to work with sentora and apahe subversion

Sent from my SM-G900W8 using Tapatalk
(05-20-2016, 12:23 AM)type-00 Wrote: [ -> ]How hard would it be to update it to work with sentora and apahe subversion

Sent from my SM-G900W8 using Tapatalk

I have not tried to use the module or looked at any of the code, so I have no idea. Basically you would need to go through the entire module and change any reference of zpanel to sentora in any file/folder paths and database calls.
(05-20-2016, 12:33 AM)TGates Wrote: [ -> ]
(05-20-2016, 12:23 AM)type-00 Wrote: [ -> ]How hard would it be to update it to work with sentora and apahe subversion

Sent from my SM-G900W8 using Tapatalk

I have not tried to use the module or looked at any of the code, so I have no idea. Basically you would need to go through the entire module and change any reference of zpanel to sentora in any file/folder paths and database calls.

well i have tryed and got no ware  with my efforts if anyone can get a subversion module to work with sentora and or if it can get integrated with sentora it would be much appreciated

just a quiqe rundown of what i did i extracted the files from the .zpp found every refrence in every file from zpanel to sentora turned it into a .rar file and then .zpp and kept getting an error when adding to server



[attachment=447] is the original .zpp
(MY EDIT DOES NOT WORK)
[attachment=448] is my edit
(05-20-2016, 07:18 AM)type-00 Wrote: [ -> ]turned it into a .rar file and then .zpp

Zip it and change the .zip in .zpp, but you have to have the right file structure inside .
http://docs.sentora.org/public/files/Pac...ckages.pdf
So what you are saying is .rar and rename will not work but .zip and rename will so I will test when I can

Sent from my SM-G900W8 using Tapatalk
so i just tried it and all i was getting was an error when i tryed to install it even under the name subversion this is the error i got when trying to add it to my server
(note)you will see the .zpp listed as subversionsentora but even when the .zpp was listed as subversion i got this error


Code:
Critical Error: [0144] - Sentora database 'exec' error (42000). A database query has caused an error, the details of which can be found below. Error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' to '/etc/sentora/panel/modules/subversionsentora/'.', '')' at line 1 SQL Executed: INSERT INTO x_logs (lg_user_fk, lg_code_vc, lg_module_vc, lg_detail_tx, lg_stack_tx) VALUES (0, '623', 'NA', 'Unable to extract file '/var/sentora/temp/phpnFALuQ' to '/etc/sentora/panel/modules/subversionsentora/'.', '') Stack trace: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' to '/etc/sentora/panel/modules/subversionsentora/'.', '')' at line 1' in /etc/sentora/panel/dryden/db/driver.class.php:147 #0 /etc/sentora/panel/dryden/db/driver.class.php(147): PDO->exec('INSERT INTO x_l...') #1 /etc/sentora/panel/dryden/debug/logger.class.php(66): db_driver->exec('INSERT INTO x_l...') #2 /etc/sentora/panel/dryden/sys/archive.class.php(38): debug_logger->writeLog() #3 /etc/sentora/panel/modules/moduleadmin/code/controller.ext.php(383): sys_archive::Unzip('/var/sentora/te...', '/etc/sentora/pa...') #4 [internal function]: module_controller::doInstallModule() #5 /etc/sentora/panel/dryden/runtime/controller.class.php(65): call_user_func(Array) #6 /etc/sentora/panel/inc/init.inc.php(145): runtime_controller->Init() #7 /etc/sentora/panel/index.php(21): require_once('/etc/sentora/pa...') #8 {main}
I took a better look and it looks like the module is already updated to Sentora.

Code:
/** * * Installer for SVN Module for sentora 10.1.0 * Version : 101 * Author :  Aderemi Adewale (modpluz @ sentora Forums) * Email : goremmy@gmail.com */

But you are missing some components if i look at the wayback page of the Modplus modules thread on the ZPanel forums.
It's not an "install a module and you're done" module, i do not know anything about SVN so i do not know anything about it.

P.S. The repo browser module was something else than the Subversion module.
Double Post for a shout out to @[modpluz] so he gets a notification about this and maybe he can help you out.
Pages: 1 2