Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
87 user(s) are online (67 user(s) are browsing Forums)

Members: 2
Guests: 85

amigakit, TiredOfLife, more...

Support us!

Headlines

Report message:*
 

Re: Resolving issues

Subject: Re: Resolving issues
by Severin on 2015/1/23 16:58:40

@xenic

The file is dopus5/system/ftp_sites. The old backed up file is 31,792 which when it fails to load is replaced with a new one thet is 7,542 and looks like a default file.

Resized Image

New file contents:

Resized Image

trying to open the backup file gives:

Resized Image

Quote:
You can't mix the new binaries with old ones. You need to use new modules, library and program.


I use an update script that backs up and updates the modules and updates c, library & program:

.bra {
.
ket }
.
key filename

Echo "Checking for existing Dopus5 in ram:... " noline
if exists "ram:Dopus5"
  
Echo Existing copy of Dopus5 found in ram:
  Echo 
Please remove it before running this script.
  
quit 
endif
Echo 
"Nothing found."

Echo "Extracting {filename}... " noline
lha x 
"{filename}" ram: >nil:

Echo 
Done.

Echo 
"Copying C... " noline
copy 
"ram:dopus5/c/" to "dopus5:c/" all force quiet
Echo Done.

Echo 
"Copying Libs... " noline
copy 
"ram:dopus5/libs/" to "dopus5:libs/" all force quiet
Echo Done.

Echo 
"Copying Dopus5 exe... " noline
copy 
"ram:dopus5/DirectoryOpus" to "dopus5:" force quiet
Echo Done.

Echo 
"Copying Modules... " noline
if exists "Dopus5:Modules.old"
   
Delete "Dopus5:Modules.old" all force quiet
endif
Makedir Dopus5:Modules.temp
copy 
"ram:dopus5/Modules/" to "dopus5:Modules.temp/" all quiet
rename Dopus5
:modules as dopus5:Modules.old
rename Dopus5
:modules.temp as Dopus5:Modules
Echo Done.

Echo 
rebooting...
wait 1
reboot fast



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project