# الترقيات

{% hint style="danger" %}
**قبل أي ترقية** تأكد من أن تاريخ الصيانة لديك لاحق لتاريخ إصدار النسخة من ngSurvey التي ترغب في الترقية إليها. يمكنك العثور على تاريخ الصيانة الحالي في قسم Configuration / About في إعدادك. \
\
تأكد أيضاً من عمل نسخة احتياطية لأي ملفات أو صور موجودة بما في ذلك قاعدة البيانات قبل المتابعة في عملية الترقية.
{% endhint %}

ترقية ngSurvey بسيطة وتتم على جزأين،&#x20;

1. ملفات خادم ngSurvey التي تقدم التطبيق.
2. قاعدة بيانات ngSurvey في SQL Server أو Postgres أو MySQL/MariaDB.

{% hint style="info" %}
لن تُفقد أي بيانات أثناء الترقية؛ سيتم ترقية جميع الاستبيانات الحالية وإجابات المستجيبين الخاصة بها.
{% endhint %}

## Azure Web App

يمكنك إزالة أي ملفات سابقة ونسخ الملفات الجديدة إلى تثبيتك. إذا كنت تستخدم ميزة النشر عبر zip في Azure فسيتم ذلك تلقائياً.

## IIS / ZIP

تأكد من أنك قمت بتثبيت أحدث [.NET 10 Hosting Bundle](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-10.0.2-windows-hosting-bundle-installer) على الخادم الخاص بك. قم بإزالة جميع ملفاتك القديمة من موقع IIS وانسخ الملفات الجديدة إلى المجلد. إذا قمت بتعيين إعدادات ngSurvey في ملف web.config احتفظ بملف web.config القديم ولا تقم باستبداله بالجديد.

## AWS

يمكنك تحديث صورة AWS لتحديث ngSurvey إلى أحدث إصدار.

## قاعدة البيانات&#x20;

&#x20;سيقوم ngSurvey بتحديث قاعدة البيانات تلقائياً إلى أحدث إصدار. إذا قمت بتعيين AutoDB [enviroment](/ar/installation-setup/installation/iadadat-mtghyrat-albyeh.md) المتغير إلى false لتحديث قاعدة البيانات يدوياً يمكنك اتباع نفس [SQL Server database installation](broken://pages/7419d62fb3483dac6cb2380daa0c0de642b53e4f) الإعداد الذي اتبعته أثناء تثبيت قاعدة بيانات ngSurvey يدوياً، سيؤدي هذا إلى ترقية قاعدة البيانات.

## خطأ في الإعداد&#x20;

إذا أظهر النظام "system is currently under maintenance" فتأكد من فحص حالة النظام مباشرة عبر <https://yoursite/api/system/status>. استخدام هذا الرابط ينبغي أن يمنحك رسالة الخطأ الدقيقة لمساعدتك في استكشاف المشكلة.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ngsurvey.com/ar/installation-setup/upgades.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
