How to upload a fresh set of files: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
m (Reverted edits by Oxlo (talk) to last revision by Illori)
Tag: Rollback
Line 1: Line 1:
Cuando la Base de Datos está bien, pero algunos archivos SMF están dañados, puede ser una buena idea reinstalar la versión actual de SMF. Esto es lo que se llama una "instalación SMF limpia". Esto podría ser necesario si:
When the database is okay, but some SMF files are damaged, it may be a good idea to reinstall the current version of SMF. This recreates what is called a "clean SMF installation". This might be necessary if:


* Un mod falla al instalar o desinstalar completamente, dejando el foro inviable
* A mod fails to completely install or uninstall, leaving the forum unworkable
* Un [[Patch_(term)|Parche/Actualización]] de SMF falla debido a los cambios que han hecho los mods.
* An [[Patch_(term)|update/patch]] of SMF fails because of the changes mods have made.


Las instrucciones para restaurar una versión actual de SMF, sin realizar ningún cambio en la base de datos, se enumeran a continuación. Una vez que se haya instalado un nuevo conjunto de archivos, será posible volver a instalar mods o actualizar a una versión más nueva de SMF. Si sigue estas instrucciones, se eliminarán todas las ediciones realizadas por los mods y otros cambios en los temas proporcionados por SMF, y se borrarán todas las personalizaciones hechas a mano de todos los archivos. Seguir estos pasos no eliminará ningún archivo o directorio "adicional" que haya agregado a mano o mediante instalaciones de mods o temas. Para otras opciones, busque ayuda en el Foro de soporte 1.1.x ó  2.0.x según la versión que tenga instalada.
Instructions to restore the current version of SMF, without making any changes to the database, are listed below. Once a fresh set of files has been installed, it will be possible to re-install mods or upgrade to a newer version of SMF. Following these instructions will delete all the edits made by mods and other changes to the SMF supplied themes, and erase all hand-made customizations from all files. Following these steps will not delete any "extra" files or directories you may have added by hand or through mod or theme installations. For other options, please seek help in the 1.1.x support board or the 2.0.x support board.


#[[Backup|Copia de Seguridad ]] '''de todo'''
#[[Backup|Back-up]] '''everything'''
#*Haga una copia de seguridad de su base de datos, asegurándose de haber hecho copia de seguridad de todos sus datos.
#*Back-up your database, ensuring that you have backed up all your data.
#*Haga una Copia de seguridad de sus temas y gráficos personalizados. Tome notas cuidadosamente sobre cualquier personalización hecha a mano que haya realizado en los archivos.
#*Back-up your custom themes and graphics. Make careful notes about any hand-made customizations you have made to files.
#Paso opcional: '''Advertencia: ¡no realice este paso a menos que sepa lo que está haciendo!''' Antes de cargar el nuevo conjunto de archivos, también puede eliminar las carpetas Fuentes y Temas. Hacer esto asegura que no queden archivos que puedan estar dañados y que su configuración va a estar completamente limpia.
#Optional step: '''Warning: do not undertake this step unless you know what you are doing!''' Before you upload the fresh set of files, you can also remove Sources and Themes folders. Doing this ensures there are no files left behind and that your setup is completely clean.
#Descargue el archivo '''"Actualización completa"''' (large upgrade) para la versión exacta de SMF que está utilizando [http://download.simplemachines.org/index.php?archive del sitio de descarga]. Asegúrese de seleccionar su versión actual de SMF de la lista desplegable junto a "Seleccionar versión". (Tenga en cuenta: NO debe descargar y/o usar el archivo de instalación completa (full install).
#Download the '''large upgrade archive file''' for the exact version of SMF that you are using [http://download.simplemachines.org/index.php?archive from the download site]. Be sure to select your current version of SMF from the drop-down list next to "Select Version". (Please note: You should NOT be downloading/using the full install archive file.)
# Extraiga y suba el archivo al directorio del foro, asegurándose de eliminar "upgrade.php" y todos los archivos "upgrade-x.x.sql", y sobrescriba index.php, la carpeta de fuentes y la carpeta de temas. Puede usar FTP o el Administrador de archivos de cPanel. En su foro, si ha reemplazado los archivos estándar de smileys con los suyos propios y/o reemplazó los archivos estándar de avatares, es posible que no quiera sobreescribir tanto el directorio de "smileys" como el de "avatares" para conservar los suyos personalizados.
#Extract the archive to the forum's directory, making sure that you delete upgrade.php and all the upgrade-x.x.sql files, and overwrite index.php, the sources folder, and the themes folder. You can either use FTP or cPanel's File Manager. On your forum, if you have replaced the standard smiley files with your own and/or replaced the standard avatar files, you might want to refrain from uploading both the ''smileys'' and the ''avatars'' directory. '''Important Note:''' If you carried out the optional step, you should also upload the sources from the large upgrade archive before you reinstall any custom themes.
'''Nota importante:''' Si realizó el paso opcional, también debe cargar las fuentes del archivo de actualización completa (large upgrade) antes de reinstalar cualquier tema personalizado.


Una vez completado, su foro estará en un estado limpio (digamos, "de fabrica", en cuanto al software, pero todos sus miembros y publicaciones estarán intactos porque éstos se almacenan en la Base de Datos. Sus mods, aunque ya no estén instalados, seguirán estando en el Administrador de paquetes. Desde allí, puede aplicarlos/instalarlos o eliminarlos, como desee. Cualquiera de las configuraciones de su mod que estén almacenadas en la base de datos se mantendrán y seguirán usándose cuando se reinstale el mod.
Once completed, your forum will be in a virgin state, software-wise, but all of your members and posts will be intact. Your mods, while no longer installed, will still be in the Package Manager. From there, you can either apply/install them, or delete them, as you desire. Any of your mod's settings that are stored in the database will be retained and still be usable when the mod is reinstalled.


Si está utilizando SMF 2.0 y tiene mods instalados, es posible que desee usar [[Manually setting a package installed or uninstalled|"Fix_Packages.php"]] para eliminar las ediciones que instalaron los mods. Esta es una buena idea si ve que algunas modificaciones aún están instaladas cuando navega por el panel de administración después de cargar archivos limpios.
If you are using SMF 2.0 and had mods installed you may want to use [[Manually setting a package installed or uninstalled|Fix_Packages.php]] to remove the hooks that the mods installed. This is a good idea if you see some mods are still installed when browsing the admin panel after uploading clean files.


'''Recuerde:''' para obtener el foro más seguro y con el mejor rendimiento, debe planificar el [[patch (term)|Parcheo]] o [[upgrade (term)|Actualización]] a la versión más reciente de SMF lo antes posible.
Remember: for the best-performing and most secure forum, you should plan to [[patch (term)|patch]] or [[upgrade (term)|upgrade]] to the most recent version of SMF as soon as possible.
[[category:FAQ]]
[[category:FAQ]]

Revision as of 09:56, 23 April 2022

When the database is okay, but some SMF files are damaged, it may be a good idea to reinstall the current version of SMF. This recreates what is called a "clean SMF installation". This might be necessary if:

  • A mod fails to completely install or uninstall, leaving the forum unworkable
  • An update/patch of SMF fails because of the changes mods have made.

Instructions to restore the current version of SMF, without making any changes to the database, are listed below. Once a fresh set of files has been installed, it will be possible to re-install mods or upgrade to a newer version of SMF. Following these instructions will delete all the edits made by mods and other changes to the SMF supplied themes, and erase all hand-made customizations from all files. Following these steps will not delete any "extra" files or directories you may have added by hand or through mod or theme installations. For other options, please seek help in the 1.1.x support board or the 2.0.x support board.

  1. Back-up everything
    • Back-up your database, ensuring that you have backed up all your data.
    • Back-up your custom themes and graphics. Make careful notes about any hand-made customizations you have made to files.
  2. Optional step: Warning: do not undertake this step unless you know what you are doing! Before you upload the fresh set of files, you can also remove Sources and Themes folders. Doing this ensures there are no files left behind and that your setup is completely clean.
  3. Download the large upgrade archive file for the exact version of SMF that you are using from the download site. Be sure to select your current version of SMF from the drop-down list next to "Select Version". (Please note: You should NOT be downloading/using the full install archive file.)
  4. Extract the archive to the forum's directory, making sure that you delete upgrade.php and all the upgrade-x.x.sql files, and overwrite index.php, the sources folder, and the themes folder. You can either use FTP or cPanel's File Manager. On your forum, if you have replaced the standard smiley files with your own and/or replaced the standard avatar files, you might want to refrain from uploading both the smileys and the avatars directory. Important Note: If you carried out the optional step, you should also upload the sources from the large upgrade archive before you reinstall any custom themes.

Once completed, your forum will be in a virgin state, software-wise, but all of your members and posts will be intact. Your mods, while no longer installed, will still be in the Package Manager. From there, you can either apply/install them, or delete them, as you desire. Any of your mod's settings that are stored in the database will be retained and still be usable when the mod is reinstalled.

If you are using SMF 2.0 and had mods installed you may want to use Fix_Packages.php to remove the hooks that the mods installed. This is a good idea if you see some mods are still installed when browsing the admin panel after uploading clean files.

Remember: for the best-performing and most secure forum, you should plan to patch or upgrade to the most recent version of SMF as soon as possible.



Advertisement: