I think have some serious issues: upgrade 3.0.2 to 3.0.3 #1729
-
How Shlink is set up
Summaryi've been trying to download and use several versions of shlink and i cannot even upgrade 3.0.2 to 3.0.3., but i'm always getting a doctrine error like this. (this is just an extract). I'm supposing that the hosting i'm using (opalstack) has several limitations which i'm probably hitting. I should probably try to move the shortener to another dedicated server that i own. I may have to migrate it entirely. Error Output: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 28 replies
-
Wait wait wait, maybe i'm a dumb idiot... edit: the errors in the links mentioned before (now removed from the message) was caused by an error in my cli commands. The migration error remains. This is the PHP version on Opalstack PHP 8.0.23 (cli) (built: Aug 30 2022 12:16:34) ( NTS gcc x86_64 ) test install and migration on another server
this server has a much older version of php: PHP 8.0.13 (cli) (built: Nov 26 2021 07:45:11) ( NTS ) /opt/php-8.0/bin/php' 'bin/cli' 'db:migrate' |
Beta Was this translation helpful? Give feedback.
-
Update:
Does the migration entirely happens in memory before writing to the Database? |
Beta Was this translation helpful? Give feedback.
-
Hello, i'm going to close the discussion with some feedbacks for other people. :) I was able to migrate and activate the new installation: some feedbacks
remaining issues for my installI'm still getting those messages from cli, even if simply try to launch it using
and weirdest yet:
I've copied every folder from _test to the main install (beside the "data" folder), i'm still getting the same error. ...and it's even more weird...i usually run all of those operations from a customized ssh connection, which is in "jailkit": it has permission to "act" only in the context of the domain. Which is fine if i have to share the connection with a collaborator: they will be able to access only the files of the domain and nothing else. Hear this: if i log to the server as ROOT, navigate the domain folder (which would be "/var/www/domainname/web") and try to launch the same php command... it works!
Anyway i think it's a only a problem limited to my configuration, i've just reported it for a future problem. It's probably easier to run shlink in a docker container :) |
Beta Was this translation helpful? Give feedback.
Hello, i'm going to close the discussion with some feedbacks for other people. :)
I was able to migrate and activate the new installation: some feedbacks
-- for example if you install into /www/domainname/ the zip will contain a subfolder /public
-- the default path for the home should be /www/domainname/public
-- it's made for safety reasons, to avoid access to the code from malevolent external scripts.