Skip to content

3.8.0

Choose a tag to compare

@nilsonLazarin nilsonLazarin released this 08 May 16:19
· 285 commits to master since this release
034bbe8

What's Changed

Full Changelog: 3.7.3...3.8.0

Mudança da estrutura dos arquivos do sistema

# Desativar o virtual host
a2dissite wegia.conf
a2dissite wegia-le-ssl.conf
systemctl restart apache2

# Ajustar o caminho para o novo subdiretório
#Editar os arquivos /etc/apache2/sites-available/wegia-le-ssl.conf e /etc/apache2/sites-available/wegia-le-ssl.conf
#Mudar onde: DocumentRoot /var/www/WeGIA/     por: DocumentRoot /var/www/WeGIA/web/
#Mudar onde: <Directory /var/www/WeGIA>       por: <Directory /var/www/WeGIA/web>

# Backup de arquivos 
mkdir -p /tmp/WeGIA/pdfs
mv /var/www/WeGIA/config.php /tmp/WeGIA/
mv /var/www/WeGIA/html/seguranca/ips_bloqueados.json /tmp/WeGIA/
mv /var/www/WeGIA/html/contribuicao/pdfs/*.pdf /tmp/WeGIA/pdfs/

# Atualização da Estrutura
cd /var/www/WeGIA/
sudo -u www-data git checkout master
sudo -u www-data git status
sudo -u www-data git pull

# Retornando arquivos 
mv /tmp/WeGIA/config.php /var/www/WeGIA/web/
mv /tmp/WeGIA/ips_bloqueados.json /var/www/WeGIA/web/html/seguranca/ips_bloqueados.json
mv /tmp/WeGIA/pdfs/*.pdf /var/www/WeGIA/web/html/contribuicao/pdfs/

#Ativando o virtual host
a2ensite wegia.conf
a2ensite wegia-le-ssl.conf
systemctl restart apache2