site migration and upgrade advice

Post Reply
audricd
Jr. Bludit
Posts: 7
Joined: Mon Jul 29, 2024 9:03 pm
Has thanked: 2 times

Hello,

I have currently a Bludit (3.15) instance running from Yunohost (11) running. But I am migrating my server to pure docker, ditching Yunohost; but keeping the site.

Steps that I have done:

- set up the following container for the new site:

Code: Select all

name: web
services:
    docker:
        container_name: bludit
        ports:
            - 8008:80
        volumes:
            - directory:/usr/share/nginx/html/bl-content
        image: bludit/docker:latest
networks:
  default:
    external:
      name: ext
- chmod 777 the parent (root) directory so that bl-content can be written and into, by install.php
- go through install.php
- from a location I have moved my whole old bluedit site:

Code: Select all

docker cp bl-content bluditcontainer:/usr/share/nginx/html/
my content seems to be there and everything seems to be working. but two questions:
1: is this process correct? I am missing / skipping anything?
2: can I chmod the parent, or any directory to a safer chmod?

Thanks!
User avatar
Edi
Site Admin
Posts: 3067
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 68 times
Been thanked: 99 times
Contact:

audricd wrote: Wed Feb 05, 2025 5:41 pm 2: can I chmod the parent, or any directory to a safer chmod?
Sorry, I have no experience with docker. :(

But directories can be chmod 755.
audricd
Jr. Bludit
Posts: 7
Joined: Mon Jul 29, 2024 9:03 pm
Has thanked: 2 times

thanks!
so does this look right?
755.png
755.png (20.91 KiB) Viewed 27050 times
edit:
oh and, actually about my first message, I must correct myself. The website does not look good on the new host just by moving bl-content. The theme seems to be missing / corrupt. Icons are missing, and the font is wrong.
1903-978-max.png
1903-978-max.png (153.91 KiB) Viewed 27045 times
1721-700-max.png
1721-700-max.png (120.68 KiB) Viewed 27045 times
when its supposed to look like:
Screenshot_20250206_205843.png
Screenshot_20250206_205843.png (236.81 KiB) Viewed 27045 times
regards,
audricd
Jr. Bludit
Posts: 7
Joined: Mon Jul 29, 2024 9:03 pm
Has thanked: 2 times

bump
User avatar
Edi
Site Admin
Posts: 3067
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 68 times
Been thanked: 99 times
Contact:

What is the address of your instalation?
audricd
Jr. Bludit
Posts: 7
Joined: Mon Jul 29, 2024 9:03 pm
Has thanked: 2 times

the url of the currently running site?
https://web.labaudric.net

and in case it can be of any help, the directory listing of it

var/www/bludit$ ls -lh
total 60K
drwxrwx---+ 8 bludit www-data 4.0K Nov 25 11:11 bl-content
drwxrwx---+ 11 bludit www-data 4.0K Jul 15 2023 bl-kernel
drwxrwx---+ 2 bludit www-data 4.0K Jul 15 2023 bl-languages
drwxrwx---+ 31 bludit www-data 4.0K Nov 25 11:09 bl-plugins
drwxrwx---+ 65 bludit www-data 4.0K Aug 3 2024 bl-themes
drwxr-xr-x 5 user user 4.0K Jan 14 19:23 content
-rw-rwx---+ 1 bludit www-data 900 Jul 15 2023 index.php
-rw-rwx---+ 1 bludit www-data 21K Jul 15 2023 install.php
-rw-rwx---+ 1 bludit www-data 1.1K Jul 15 2023 LICENSE
-rw-rwx---+ 1 bludit www-data 2.7K Jul 15 2023 README.md

https://ibb.co/JRT7Tsvx
GoustiFruit
Jr. Bludit
Posts: 3
Joined: Thu Jan 16, 2025 1:17 pm
Has thanked: 3 times

audricd wrote: Wed Feb 05, 2025 5:41 pm I have currently a Bludit (3.15) instance running from Yunohost (11) running. But I am migrating my server to pure docker, ditching Yunohost; but keeping the site.
Why are you leaving Yunohost ? I understand that modifying a website can be tricky... but everything else is very cozy.
User avatar
Edi
Site Admin
Posts: 3067
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 68 times
Been thanked: 99 times
Contact:

This is what I see. Is there something wrong?

labaudricnet.png
labaudricnet.png (177.71 KiB) Viewed 14590 times
audricd
Jr. Bludit
Posts: 7
Joined: Mon Jul 29, 2024 9:03 pm
Has thanked: 2 times

Edi wrote: Mon Feb 24, 2025 10:32 am This is what I see. Is there something wrong?


labaudricnet.png
no, because I have switched back to the old host. It looks like I have posted before on the new host, without style / template.
Post Reply