globaldyne / parfumvault

Perfumers Vault, a tool to create and manage your perfume formulas.
https://www.perfumersvault.com
MIT License
27 stars 13 forks source link

Help migrating from older version #135

Closed 145818 closed 9 months ago

145818 commented 9 months ago

This was setup when I knew almost nothing about docker so it's not pretty.

I'm running Version: 3.7 PRO with DB Schema Version: 3.7 on Solus Linux using this script.

#/ur/bin/env bash
docker run --name PARFUME -p 8080:80 \
    -v /root/PVDIR/config:/config \
    -v /root/PVDIR/db:/var/lib/mysql \
    -v /root/PVDIR/uploads:/var/www/html/uploads globaldyne/jbvault &

Content of /root/PVDIR:

# ls /root/PVDIR/
config  db  uploads

Error when trying to run the same script on other machine:

Unable to find image 'globaldyne/jbvault:latest' locally
docker: Error response from daemon: pull access denied for globaldyne/jbvault, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

I also tried to export the db using the GUI on my old pc, but can not import it on latest version on the new machine. Read docs that this only work if the version is the same.

I would need to upgrade the old version, export db and then I can start over (with docker compose like a civilized person) on a new machine.

How do I do this?

145818 commented 9 months ago

So the software name have changed, works fine on old PC however. When trying again on new PC the old method with globaldyne/perfumersvault I'm getting too new version:

$ docker run --name PARFUME -p 8080:80 -v $THE_PATH/PVDIR/config:/config -v $THE_PATH/PVDIR/db:/var/lib/mysql -v $THE_PATH/PVDIR/uploads:/var/www/html/uploads globaldyne/perfumersvault
----------------------------------
READY - Perfumer's Vault Ver 9.1
Starting web server
==> /tmp/error.log <==

==> /tmp/nginx-access.log <==

==> /tmp/nginx-error.log <==
2023/12/16 11:23:24 [notice] 16#16: using the "epoll" event method
2023/12/16 11:23:24 [notice] 16#16: nginx/1.22.1
2023/12/16 11:23:24 [notice] 16#16: built by gcc 11.3.1 20221121 (Red Hat 11.3.1-4) (GCC) 
2023/12/16 11:23:24 [notice] 16#16: OS: Linux 6.1.66-1-lts
2023/12/16 11:23:24 [notice] 16#16: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2023/12/16 11:23:24 [notice] 17#17: start worker processes
2023/12/16 11:23:24 [notice] 17#17: start worker process 18
2023/12/16 11:23:24 [notice] 17#17: start worker process 19
2023/12/16 11:23:24 [notice] 17#17: start worker process 20
2023/12/16 11:23:24 [notice] 17#17: start worker process 22

==> /tmp/php-fpm-error.log <==

==> /tmp/www.access.log <==

Can not connect using browser.