找回密码
 立即注册

QQ登录

只需一步,快速开始

超级码农
金牌服务用户   /  发表于:2023-12-26 09:16  /   查看:1776  /  回复:17
已经拿到Linux离线版 9.0.103.0安装包,经查阅官方帮助手册,只有新安装的步骤没有升级的步骤,请问升级步骤是怎样的,是否需要卸载已有版本,如果要卸载,如何保留软件授权、用户权限,用户名密码等数据。

17 个回复

倒序浏览
Lay.Li悬赏达人认证 活字格认证
超级版主   /  发表于:2023-12-26 09:32:21
来自 2#
您好,活字格服务器端升级步骤可以参考下方教程贴哈,一般来说顺序就是


1.备份用户和应用
2.反激活许可码
3.卸载旧版本服务器
4.安装新版本服务器
5.激活许可码(
6.恢复应用和用户(一般来说卸载重装的话应用和用户都不会丢,这一步大概可以省略)





活字格升级新版本/迁移服务器注意事项和步骤
https://gcdn.grapecity.com.cn/showtopic-199240-1-1.html
(出处: 葡萄城开发者社区)






回复 使用道具 举报
超级码农
金牌服务用户   /  发表于:2023-12-26 10:02:40
板凳
备份时出现错误,看了下操作系统目录权限,应该是没有问题的,需求帮助。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
Lay.Li悬赏达人认证 活字格认证
超级版主   /  发表于:2023-12-26 10:18:21
地板

大佬,可以参考这个设置一下,用户对这个文件夹的读写权限试试看,设置后看能不能备份哈

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
超级码农
金牌服务用户   /  发表于:2023-12-26 10:31:32
5#
目录已经授权

备份依旧报错,另外,尝试了用户备份也报错

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
Lay.Li悬赏达人认证 活字格认证
超级版主   /  发表于:2023-12-26 13:39:14
6#
好的,这边儿调查一下这个问题,备份用户的时候报错是什么呢,可以看一下日志中有没有什么详细的信息哈


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
超级码农
金牌服务用户   /  发表于:2023-12-26 15:11:38
7#
没有查到异常信息

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
超级码农
金牌服务用户   /  发表于:2023-12-26 15:16:22
8#
日志的设置如图

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
超级码农
金牌服务用户   /  发表于:2023-12-26 15:58:46
9#
========================可以查到报错了================

时间

15:46:50
日志类型

异常日志
异常调用堆栈

{
  "ClassName": "System.UnauthorizedAccessException",
  "Message": "Access to the path '/var/log/ForguncyServer/FGCServerSiteVersion' is denied.",
  "Data": null,
  "InnerException": {
    "$type": "System.IO.IOException, System.Private.CoreLib",
    "ClassName": "System.IO.IOException",
    "Message": "Permission denied",
    "Data": null,
    "InnerException": null,
    "HelpURL": null,
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 13,
    "Source": null,
    "WatsonBuckets": null
  },
  "HelpURL": null,
  "StackTraceString": "   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)

   at Interop.CheckIo(Error error, String path, Boolean isDirectory, Func`2 errorRewriter)

   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)

   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)

   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)

   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)

   at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)

   at System.IO.File.WriteAllText(String path, String contents)

   at Forguncy.UserService2.Common.BackupScheduler.GenerateUserServiceDBZip()

   at Forguncy.UserService2.Controllers.BackupRecoverV2Controller.BackupDB()

   at lambda_method556(Closure , Object , Object[] )

   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()

   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()

--- End of stack trace from previous location ---

   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()

--- End of stack trace from previous location ---

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)

   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)

   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)

   at Forguncy.UserService2.KatanaMiddleware.ControllerMiddleware.InvokeAsync(HttpContext context)

   at Forguncy.UserService2.KatanaMiddleware.AdminPortalFrontMiddleware.InvokeAsync(HttpContext context)

   at ForguncyServerCommon.HttpHeaderMiddlewareBase.InvokeAsync(HttpContext context)

   at Forguncy.KatanaMiddleware.u.InvokeAsync(HttpContext context)",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": -2147024891,
  "Source": "System.Private.CoreLib",
  "WatsonBuckets": null
}
用户名

Administrator
请求路径

/BackupRecoverV2/BackupDB
请求Id

343138f9-96cf-4066-8ffe-df64c4374bd8
回复 使用道具 举报
Lay.Li悬赏达人认证 活字格认证
超级版主   /  发表于:2023-12-26 16:06:39
10#
大佬,这个看样子还是没有权限,您的root用户有没有写权限呢,活字格是用root用户启动的,可以试下设置root用户的写权限,或者检查一下是不是以root启动的看看


回复 使用道具 举报
12下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部