Comments (8)
I'll give that a shot and report back.
from mealie.
Confirmed as a config issue on my postgres deployment. I used a different docker compose than the one on the docs site. Once I defaulted to the one on the site, everything works as expected and the migration is complete. Thanks @Kuchenpirat for the assist! I've been toiling with this for months (on and off)
from mealie.
If you'd like a copy of the MySQL backup export (.zip), let me know and I can either attach it here or send it directly.
from mealie.
i think the right way to do this would be:
- create the backup on the sqlite instance on the
/admin/backups
page and download it - go to the same page on the postgres instance
- use the upload button to upload the backup
- use the restore functionality on this page to restore from backup
from mealie.
Nope, here's the logs from the mealie container:
12/30/2023 10:55:10 AM INFO: 30-Dec-23 10:55:10 initially backup restore 12/30/2023 10:55:10 AM ERROR: 30-Dec-23 10:55:10 [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/app'] 12/30/2023 10:55:10 AM Traceback (most recent call last): 12/30/2023 10:55:10 AM File "/app/mealie/routes/admin/admin_backups.py", line 105, in import_one 12/30/2023 10:55:10 AM backup.restore(file) 12/30/2023 10:55:10 AM File "/app/mealie/services/backups_v2/backup_v2.py", line 81, in restore 12/30/2023 10:55:10 AM with backup as contents: 12/30/2023 10:55:10 AM File "/app/mealie/services/backups_v2/backup_file.py", line 52, in __enter__ 12/30/2023 10:55:10 AM self.temp_dir = Path(tempfile.mkdtemp()) 12/30/2023 10:55:10 AM File "/usr/local/lib/python3.10/tempfile.py", line 357, in mkdtemp 12/30/2023 10:55:10 AM prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir) 12/30/2023 10:55:10 AM File "/usr/local/lib/python3.10/tempfile.py", line 126, in _sanitize_params 12/30/2023 10:55:10 AM dir = gettempdir() 12/30/2023 10:55:10 AM File "/usr/local/lib/python3.10/tempfile.py", line 299, in gettempdir 12/30/2023 10:55:10 AM return _os.fsdecode(_gettempdir()) 12/30/2023 10:55:10 AM File "/usr/local/lib/python3.10/tempfile.py", line 292, in _gettempdir 12/30/2023 10:55:10 AM tempdir = _get_default_tempdir() 12/30/2023 10:55:10 AM File "/usr/local/lib/python3.10/tempfile.py", line 223, in _get_default_tempdir 12/30/2023 10:55:10 AM raise FileNotFoundError(_errno.ENOENT, 12/30/2023 10:55:10 AM FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/app'] 12/30/2023 10:55:10 AM INFO: 192.168.1.1:0 - "POST /api/admin/backups/mealie_2023.12.30.09.32.38.zip/restore HTTP/1.1" 500 Internal Server Error 12/30/2023 10:55:34 AM INFO: 127.0.0.1:47018 - "GET /api/app/about HTTP/1.1" 200 OK
from mealie.
ok, two things.
- You said you have no problem passing along the zip. Could you send that over and i can give it a quick try on my system. Either here or on Discord
- Do you have more deployment deployment on your new instance. Do you have the volumes configured correctly?
from mealie.
i got the zip off platform and could restore it on an postgres deployment.
Closing for now as i am pretty sure its an deployment error.
@djmega152 feel free to reopen, if it turn out to be something else.
from mealie.
@djmega152 can you please share both the bad and good compose files here, for reference?
Could help others see what specific detail is wrong in the config.
Nice one @Kuchenpirat 👍
from mealie.
Related Issues (20)
- Recipe with a single 'space' as the title returns "404 page not found" - reproduced on the demo site HOT 2
- [BUG] - Duplicate recipe title leads to data loss HOT 1
- [Security] Reporting of a vulnerability HOT 7
- [Error] - migrate from Postgres 15 to 16.2 HOT 1
- [SCRAPER] - www.colruyt.be/nl/lekker-koken recipe scraping returns failed to scrape url HOT 2
- [BUG] - Startup loop/high CPU usage in Docker with 1.5.1 HOT 3
- [BUG] - Nextcloud migration fails due to malformed nutrition field HOT 1
- [BUG] - OIDC with Zitadel - Error 404 HOT 14
- Unable to delete meal planner item HOT 10
- Update mealie to HA documentation example code. HOT 2
- [BUG] - OIDC - Invalid JSON Web Key Set HOT 8
- [BUG] - POSTGRES_URL_OVERRIDE requires an unnecessary `:` in the URI HOT 1
- [BUG] - Unable to update recipe rating using the API HOT 1
- [BUG] - Fractions of ingredient quantities less than 1 aren't displayed when no unit is selected HOT 2
- [BUG] - Changing Timezone in docker-compose.yml results in error HOT 2
- [SCRAPER] - Can not import from bettybossi.ch HOT 1
- Cant access after installing docker HOT 1
- [BUG] - Recipe image from another mealie instance HOT 3
- Setting backend passwords with docker compose secrets HOT 9
- [BUG] - Merging ingredient doesnt work if referenced by a shopping list HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mealie.